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