mapIndexed

@PerformancePitfall(message = "Very slow on remote execution algebras")
open fun StructureND<T>.mapIndexed(transform: C.(index: IntArray, T) -> T): StructureND<T>(source)

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