|
CGAL 6.2 - Homological Discrete Vector Fields
|
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.
| matrix | The first matrix. |
| other | The second matrix. |
matrix containing the result. Functions | |
| Sparse_matrix & | operator+= (const Sparse_matrix &other) |
| Matrices sum and assign: COLUMN += COLUMN or ROW += ROW. | |
Friends | |
| template<typename _CT > | |
| Sparse_matrix< _CT, COLUMN > & | operator+= (Sparse_matrix< _CT, COLUMN > &matrix, const Sparse_matrix< _CT, ROW > &other) |
| Matrices sum and assign: COLUMN += ROW. | |
| template<typename _CT > | |
| Sparse_matrix< _CT, ROW > & | operator+= (Sparse_matrix< _CT, ROW > &matrix, const Sparse_matrix< _CT, COLUMN > &other) |
| Matrices sum and assign: ROW += COLUMN. | |