mapIndexed

open override fun StructureND<T>.mapIndexed(transform: A.(index: IntArray, T) -> T): BufferND<T>(source)

Maps elements from one structure to another one by applying transform to them alongside with their indices.