MultiIndexProgression

fun MultiIndexProgression(    first: IntArray,     last: IntArray,     step: Int = 1)

Parameters

first

a start array indices.

last

a final array indices.

step

index traversal step, can be negative.