class RescaleIndex
package quadrants.snode
Rescales a grouped loop index between two field shapes related by integer factors,
mirroring the Python binding's rescale_index(a, b, I) semantics: component i
is divided by fromShape[i] / toShape[i] when the source shape is larger and
multiplied by toShape[i] / fromShape[i] when the target shape is larger.
Inside kernels the same arithmetic is written directly with literal factors,
for example coarse[i >> 1] or fine[i * 2] for a factor-2 relation.