mapIndexed

@JvmName(name = "mapIndexedI")
fun SquareMatrix<Int>.mapIndexed(transform: (col: Int, row: Int, Int) -> Int): SquareMatrix<Int>

Like map, but with col, row given for each item during tranformation.


@JvmName(name = "mapIndexedD")
fun SquareMatrix<Double>.mapIndexed(transform: (col: Int, row: Int, Double) -> Double): SquareMatrix<Double>
@JvmName(name = "mapIndexedF")
fun SquareMatrix<Float>.mapIndexed(transform: (col: Int, row: Int, Float) -> Float): SquareMatrix<Float>
@JvmName(name = "mapIndexedL")
fun SquareMatrix<Long>.mapIndexed(transform: (col: Int, row: Int, Long) -> Long): SquareMatrix<Long>