Matrix multiplication. More...
Go to the source code of this file.
Functions | |
template<typename LinearOperator , typename MatrixOrVector1 , typename MatrixOrVector2 > | |
void | cusp::multiply (const LinearOperator &A, const MatrixOrVector1 &B, MatrixOrVector2 &C) |
Implements matrix-matrix and matrix-vector multiplication. More... | |
template<typename LinearOperator , typename MatrixOrVector1 , typename MatrixOrVector2 , typename UnaryFunction , typename BinaryFunction1 , typename BinaryFunction2 > | |
void | cusp::multiply (const LinearOperator &A, const MatrixOrVector1 &B, MatrixOrVector2 &C, UnaryFunction initialize, BinaryFunction1 combine, BinaryFunction2 reduce) |
Implements matrix-vector multiplication with custom combine and reduce functionality. More... | |
template<typename LinearOperator , typename MatrixOrVector1 , typename MatrixOrVector2 , typename UnaryFunction , typename BinaryFunction1 , typename BinaryFunction2 > | |
void | cusp::generalized_spgemm (const LinearOperator &A, const MatrixOrVector1 &B, MatrixOrVector2 &C, UnaryFunction initialize, BinaryFunction1 combine, BinaryFunction2 reduce) |
Implements generalized matrix-matrix multiplication. More... | |
template<typename LinearOperator , typename Vector1 , typename Vector2 , typename Vector3 , typename BinaryFunction1 , typename BinaryFunction2 > | |
void | cusp::generalized_spmv (const LinearOperator &A, const Vector1 &x, const Vector2 &y, Vector3 &z, BinaryFunction1 combine, BinaryFunction2 reduce) |
Implements generalized matrix-vector multiplication. More... | |
Matrix multiplication.
Definition in file multiply.h.