minus

operator fun minus(other: SparseMatrix): SparseMatrix(source)

Extension function to subtract a SparseMatrix from another SparseMatrix.

Return

A new Matrix that is the difference of the two matrices.

Parameters

other

The SparseMatrix to subtract.

Throws

If the dimensions of the matrices don't match.