foreach chainring {
foreach freewheel {
calculate
}
}
As seen in the screen shot below, Multi-speed mode has been chosen, and four chainring values have been selected; 53, 42, 36 and 48. We also see that four freewheel values have been selected; 21, 19, 26 and 24.
This will be interpreted as a quadruple crank
and a four cog freewheel; 4 multiplied by 4, a 16 speed setup.
The 53 tooth chainring
will be calculated against each of the four freewheels (as shown
with the green lines), then the 48 tooth chainring gets its shot at
each freewheel, as do the 42 and 36 tooth chainrings.
In Multi-speed mode, all "0" (zero) values are deleted, processing
only takes place on non-zero values.
In column one we have selected a 53 tooth chainring and a 21 tooth cog. That 53x21 combination is unique and is in no way associated with the values selected in column two, column three, four, five, etc.
In single-speed mode the data is processed as a single loop:
foreach chainring and freewheel column {
calculate
}
Because the program now sees the submitted data as individual vertically
aligned columns, those vertical columns that contain a zero value
will be deleted. So in this case, the 0x24 entry in column 6 and
the 48x0 entry in column 8 will be deleted because one of the paired
values contains a zero.