|
CGAL 6.2 - Homological Discrete Vector Fields
|
Set the value of the row at a given index from the matrix to chain (whatever the StorageFormat of the matrix).
operator[] followed by an assignment, for column-matrices a traversal of the matrix is required (in \(\mathcal O(n)\)).| matrix | The matrix. |
| index | The row index. |
| row | The new row value. |
Friends | |
| template<typename _CT > | |
| void | set_row (Sparse_matrix< _CT, COLUMN > &matrix, size_t index, const Sparse_chain< _CT, ROW > &row) |
| Sets a row in a COLUMN matrix. | |
| template<typename _CT > | |
| void | set_row (Sparse_matrix< _CT, ROW > &matrix, size_t index, const Sparse_chain< _CT, ROW > &row) |
| Sets a row in a ROW matrix. | |