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

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

The function returns a new column-major chain.

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

Parameters
firstThe matrix.
secondThe column-major chain.
Returns
The result of the matrix multiplication, column-based.

Friends

template<typename _CT >
Sparse_chain< _CT, COLUMNCGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::operator* (const Sparse_matrix< _CT, COLUMN > &_first, const Sparse_chain< _CT, COLUMN > &_second)
 Matrix/column chain product: COLUMN matrix x COLUMN chain -> COLUMN chain.
 
template<typename _CT >
Sparse_chain< _CT, COLUMNCGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::operator* (const Sparse_matrix< _CT, ROW > &_first, const Sparse_chain< _CT, COLUMN > &_second)
 Matrix/column chain product: ROW matrix x COLUMN chain -> COLUMN chain.