DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <linalg.h>
Class representing the product of two matrices.
Public Member Functions | |
virtual void | add_rawCol (const int i, T *DtXi, const T a) const |
void | addDiag (const T diag) |
void | copyCol (const int i, Vector< T > &DtXi) const |
void | diag (Vector< T > &diag) const |
void | extract_rawCol (const int i, T *DtXi) const |
int | m () const |
int | n () const |
T | operator() (const int index1, const int index2) const |
T | operator[] (const int index) const |
ProdMatrix () | |
ProdMatrix (const Matrix< T > &D, const bool high_memory=true) | |
ProdMatrix (const Matrix< T > &D, const Matrix< T > &X, const bool high_memory=true) | |
void | setMatrices (const Matrix< T > &D, const bool high_memory=true) |
void | setMatrices (const Matrix< T > &D, const Matrix< T > &X, const bool high_memory=true) |
~ProdMatrix () | |
Public Member Functions inherited from spams::AbstractMatrix< T > | |
virtual | ~AbstractMatrix () |
Private Attributes | |
T | _addDiag |
const Matrix< T > * | _D |
Matrix< T > * | _DtX |
bool | _high_memory |
int | _m |
int | _n |
const Matrix< T > * | _X |
spams::ProdMatrix< T >::ProdMatrix | ( | ) |
spams::ProdMatrix< T >::ProdMatrix | ( | const Matrix< T > & | D, |
const bool | high_memory = true |
||
) |
spams::ProdMatrix< T >::ProdMatrix | ( | const Matrix< T > & | D, |
const Matrix< T > & | X, | ||
const bool | high_memory = true |
||
) |
|
inline |
|
inlinevirtual |
|
inline |
add something to the diagonal
Definition at line 5112 of file linalg.h.
Referenced by spams::lasso_mask(), spams::lassoReweighted(), spams::lassoWeight(), and spams::omp_mask().
|
inlinevirtual |
compute DtX(:,i)
Implements spams::AbstractMatrix< T >.
Definition at line 5075 of file linalg.h.
Referenced by spams::ist().
|
inlinevirtual |
add something to the diagonal
Implements spams::AbstractMatrix< T >.
Definition at line 5148 of file linalg.h.
References spams::Vector< T >::dot().
|
inlinevirtual |
|
inlinevirtual |
returns the number of rows
Implements spams::AbstractMatrix< T >.
Definition at line 1029 of file linalg.h.
References spams::Data< T >::operator[]().
|
inlinevirtual |
returns the number of columns
Implements spams::AbstractMatrix< T >.
|
inlinevirtual |
returns the value of an index
Implements spams::AbstractMatrix< T >.
Definition at line 5136 of file linalg.h.
References spams::Vector< T >::dot().
|
inline |
returns the value of an index
Definition at line 5122 of file linalg.h.
References spams::Vector< T >::dot().
|
inline |
set_matrices
Definition at line 5059 of file linalg.h.
References spams::Matrix< T >::n(), and spams::Matrix< T >::XtX().
Referenced by spams::lasso_mask(), and spams::omp_mask().
|
inline |
Definition at line 5044 of file linalg.h.
References spams::Matrix< T >::mult(), and spams::Matrix< T >::n().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |