Function Dune::XT::Common::mv¶
-
template<class F, int ROWS, int COLS>
void Dune::XT::Common::mv(const FieldMatrix<F, ROWS, COLS> &A, const FieldVector<F, COLS> &x, FieldVector<F, ROWS> &b)¶ computes the matrix-vector product b = A*x for a FieldMatrix and FieldVectors
-
template<class F>
void Dune::XT::Common::mv(const int &A, const int &x, int &b)¶ computes the matrix-vector product b = A*x for a DynamicMatrix and DynamicVectors
-
template<class MatrixType, class SourceVectorType, class TargetVectorType>
int Dune::XT::Common::mv(const MatrixType &A, const SourceVectorType &x, TargetVectorType &b)¶ computes the matrix-vector product b = A*x for generic matrix and vector types