Perform subtraction of matrices and assign the result to matrix.
Perform standard linear algebra subtraction. Matrices must have the same CoefficientRing but can have different StorageFormat. The addition is optimized for each combination of StorageFormat.
- Parameters
-
| matrix | The first matrix. |
| other | The second matrix. |
- Returns
- A reference to the modified matrix
matrix containing the result.
|
|
template<typename _CT , template< typename, int > typename SCT> |
| Sparse_matrix_core< _CT, COLUMN, SCT > & | operator-= (Sparse_matrix_core< _CT, COLUMN, SCT > &matrix, const Sparse_matrix_core< _CT, ROW, SCT > &other) |
| | Matrices subtraction and assign: COLUMN -= ROW.
|
| |
|
template<typename _CT , template< typename, int > typename SCT> |
| Sparse_matrix_core< _CT, ROW, SCT > & | operator-= (Sparse_matrix_core< _CT, ROW, SCT > &matrix, const Sparse_matrix_core< _CT, COLUMN, SCT > &other) |
| | Matrices subtraction and assign: ROW -= COLUMN.
|
| |