Template Function GraphBLAS::MxM(const Matrix&, const Matrix&)

Function Documentation

template<class SemiRing = ArithmeticSemiring, class Matrix>
Matrix GraphBLAS::MxM(const Matrix &A, const Matrix &B)

Computes the matrix-matrix multiplication of A and B. Note that A.numberOfColumns() must be equal to B.numberOfRows() and the zero elements must be the same. The default Semiring is the ArithmeticSemiring.

Parameters:
  • A

  • B

Returns:

The result of the multiplication A * B.