Template Function GraphBLAS::eWiseMult

Function Documentation

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

Computes SemiRing::mult(A(i,j), B(i,j)) for all i,j element-wise and returns the resulting matrix. The default Semiring is the ArithmeticSemiring.

Parameters:
  • A

  • B

Returns: