mapIndexed
fun SquareMatrix<Int>.mapIndexed(transform: (col: Int, row: Int, Int) -> Int): SquareMatrix<Int>(source)
Like map, but with col, row given for each item during tranformation.
fun SquareMatrix<Double>.mapIndexed(transform: (col: Int, row: Int, Double) -> Double): SquareMatrix<Double>(source)
fun SquareMatrix<Float>.mapIndexed(transform: (col: Int, row: Int, Float) -> Float): SquareMatrix<Float>(source)
fun SquareMatrix<Long>.mapIndexed(transform: (col: Int, row: Int, Long) -> Long): SquareMatrix<Long>(source)