DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <linalg.h>
Abstract matrix class.
Public Member Functions | |
virtual void | add_rawCol (const int i, T *col, const T a) const =0 |
virtual void | copyCol (const int i, Vector< T > &Xi) const =0 |
virtual void | diag (Vector< T > &diag) const =0 |
virtual void | extract_rawCol (const int i, T *Xi) const =0 |
virtual int | m () const =0 |
virtual int | n () const =0 |
virtual T | operator() (const int index1, const int index2) const =0 |
virtual | ~AbstractMatrix () |
|
inlinevirtual |
|
pure virtual |
compute X(:,i)<- X(:,i)+a*col;
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.
Referenced by spams::coreIST(), and spams::coreISTconstrained().
|
pure virtual |
copy X(:,i) into Xi
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.
Referenced by spams::coreORMP(), spams::lasso(), and spams::lasso2().
|
pure virtual |
extract diagonal
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
copy X(:,i) into Xi
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.
Referenced by spams::coreLARS(), spams::coreLARS2(), and spams::coreLARS2W().
|
pure virtual |
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.
|
pure virtual |
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.
Referenced by spams::coreIST(), spams::coreISTconstrained(), spams::coreLARS2(), spams::coreLARS2W(), spams::coreORMPB(), spams::lasso(), and spams::lasso2().
|
inlinepure virtual |
Implemented in spams::SubMatrix< T >, spams::ProdMatrix< T >, and spams::Matrix< T >.