CGAL 6.2 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches
Matrix / column-chain multiplication (with column-chain result).

Perform multiplication of a sparse matrix (column or row major) and a column-chain.

The function returns a new column-major chain.

Perform standard linear algebra multiplication of a matrix and a column-chain (ie. matrix / column vector multiplication) and returns a new column-major chain. Both arguments must have the same CoefficientRing but the matrix can have any StorageFormat (and the multiplication is optimized for each of them).

Parameters
matrixThe matrix.
columnThe column-major chain.
Returns
The result of the matrix multiplication, column-based.

Friends

template<typename _CT >
Sparse_chain< _CT, COLUMNoperator* (const Sparse_matrix< _CT, COLUMN > &_matrix, const Sparse_chain< _CT, COLUMN > &_column)
 Matrix/column chain multiplication: COLUMN matrix x COLUMN chain -> COLUMN chain.
 
template<typename _CT >
Sparse_chain< _CT, COLUMNoperator* (const Sparse_matrix< _CT, ROW > &_matrix, const Sparse_chain< _CT, COLUMN > &_column)
 Matrix/column chain multiplication: ROW matrix x COLUMN chain -> COLUMN chain.