plus

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

Extension function to add two SparseMatrices.

Return

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

Parameters

other

The SparseMatrix to add.

Throws

If the dimensions of the matrices don't match.