3 #include "../common/monolish_common.hpp"
Compressed Row Storage (CRS) format Matrix.
Linear Operator imitating Matrix.
void adds(const double alpha, const matrix::Dense< double > &A, matrix::Dense< double > &C)
Dense matrix adds: C = alpha + A.
void matadd(const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
Dense matrix addition: C = A + B.
void copy(const matrix::Dense< double > &A, matrix::Dense< double > &C)
Dense matrix copy (C=A)
void matmul(const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
Dense matrix multiplication: C = AB.
void mscal(const double alpha, matrix::Dense< double > &A)
Dense matrix scal: A = alpha * A.
void matsub(const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
Dense matrix subtract: C = A - B.
void rmatmul(const matrix::LinearOperator< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
LinearOperator multiplication: C = A^H B.
void times(const double alpha, const matrix::Dense< double > &A, matrix::Dense< double > &C)
Dense matrix times: C = alpha * A.