DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <linalg.h>
Abstract matrix class.
Public Member Functions | |
virtual void | copyRow (const int i, Vector< T > &x) const =0 |
virtual void | copyTo (Matrix< T > ©) const =0 |
virtual T | dot (const Matrix< T > &x) const =0 |
virtual int | m () const =0 |
virtual void | mult (const SpVector< T > &x, Vector< T > &b, const T alpha=1.0, const T beta=0.0) const =0 |
virtual void | mult (const Vector< T > &x, Vector< T > &b, const T alpha=1.0, const T beta=0.0) const =0 |
virtual void | mult (const Matrix< T > &B, Matrix< T > &C, const bool transA=false, const bool transB=false, const T a=1.0, const T b=0.0) const =0 |
virtual void | mult (const SpMatrix< T > &B, Matrix< T > &C, const bool transA=false, const bool transB=false, const T a=1.0, const T b=0.0) const =0 |
virtual void | multSwitch (const Matrix< T > &B, Matrix< T > &C, const bool transA=false, const bool transB=false, const T a=1.0, const T b=0.0) const =0 |
virtual void | multTrans (const Vector< T > &x, Vector< T > &b, const T alpha=1.0, const T beta=0.0) const =0 |
virtual int | n () const =0 |
virtual void | print (const string &name) const =0 |
virtual void | XtX (Matrix< T > &XtX) const =0 |
virtual | ~AbstractMatrixB () |
|
inlinevirtual |
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
Referenced by spams::DoubleRowMatrix< T >::DoubleRowMatrix().
|
pure virtual |
perform b = alpha*A*x + beta*b, when x is sparse
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
perform C = a*A*B + b*C, possibly transposing A or B.
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
perform C = a*B*A + b*C, possibly transposing A or B.
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
b <- alpha A'x + beta b
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
Referenced by spams::DoubleRowMatrix< T >::DoubleRowMatrix().
|
pure virtual |
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
XtX = A'*A.
Implemented in spams::DoubleRowMatrix< T >, spams::ShiftMatrix< T >, spams::SpMatrix< T >, and spams::Matrix< T >.
Referenced by spams::FISTA::solver().