forEachIndexed

inline fun ShapeND.forEachIndexed(block: (index: Int, value: Int) -> Unit)(source)