Generator-offset property: Difference between revisions
| Line 36: | Line 36: | ||
** If the index ''i'' is out of bounds we first replace ''i'' with ''i'' % len(''S'') + 1 before using it as an argument in ''S''[-]. | ** If the index ''i'' is out of bounds we first replace ''i'' with ''i'' % len(''S'') + 1 before using it as an argument in ''S''[-]. | ||
* Given a mos aX bY, a ''chunk'' of X's is a maximal substring made of X's, bounded by Y's, possibly empty. We do not include the boundary Y's. | * Given a mos aX bY, a ''chunk'' of X's is a maximal substring made of X's, bounded by Y's, possibly empty. We do not include the boundary Y's. | ||
* ''Length'' is another term for a scale's size. | |||
== Theorems == | == Theorems == | ||