mapIndexed

open inline override fun StructureND<Double>.mapIndexed(transform: DoubleField.(index: IntArray, Double) -> Double): BufferND<Double>

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

Sources

common source
Link copied to clipboard