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

Perform addition of matrices and assign the result to matrix.

Perform standard linear algebra addition. Matrices must have the same CoefficientRing but can have different StorageFormat. The addition is optimized for each combination of StorageFormat.

Parameters
matrixThe first matrix.
otherThe second matrix.
Returns
A reference to the modified matrix matrix containing the result.

Functions

Sparse_matrix_coreoperator+= (const Sparse_matrix_core &other)
 Matrices sum and assign: COLUMN += COLUMN or ROW += ROW.
 

Friends

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 sum 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 sum and assign: ROW += COLUMN.