CGAL 6.1 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches

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
matrixThe first matrix.
otherThe second matrix.
Returns
A reference to the modified matrix matrix containing the result.

Functions

Sparse_matrixCGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::operator-= (const Sparse_matrix &other)
 Matrices subtraction and assign: COLUMN -= COLUMN or ROW -= ROW.
 

Friends

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.