CGAL 6.2 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches
matrix multiplication (with row-based result).

Perform multiplication of matrices and return a new row-major matrix.

Perform standard linear algebra multiplication of matrices and return a new row-major matrix (when possible, prefer *= for efficiency). Matrices must have the same CoefficientRing but can have different StorageFormat. The multiplication is optimized (using standard definition or block multiplications) for each combination of StorageFormat. However, efficiency depends on StorageFormat.

Parameters
firstThe first matrix.
secondThe second matrix.
Returns
The result of the matrix multiplication, row-based.

Friends

template<typename _CT >
Sparse_matrix< _CT, ROWoperator% (const Sparse_matrix< _CT, COLUMN > &_first, const Sparse_matrix< _CT, COLUMN > &_second)
 matrix multiplication: COLUMN x COLUMN -> ROW
 
template<typename _CT >
Sparse_matrix< _CT, ROWoperator% (const Sparse_matrix< _CT, ROW > &_first, const Sparse_matrix< _CT, COLUMN > &_second)
 matrix multiplication: ROW x COLUMN -> ROW
 
template<typename _CT >
Sparse_matrix< _CT, ROWoperator% (const Sparse_matrix< _CT, COLUMN > &_first, const Sparse_matrix< _CT, ROW > &_second)
 matrix multiplication: COLUMN x ROW -> ROW
 
template<typename _CT >
Sparse_matrix< _CT, ROWoperator% (const Sparse_matrix< _CT, ROW > &_first, const Sparse_matrix< _CT, ROW > &_second)
 matrix multiplication: ROW x ROW -> ROW