|
DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <linalg.h>
Inheritance diagram for spams::ProdMatrix< T >:
Collaboration diagram for spams::ProdMatrix< T >: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().
Here is the caller graph for this function:
|
inlinevirtual |
compute DtX(:,i)
Implements spams::AbstractMatrix< T >.
Definition at line 5075 of file linalg.h.
Referenced by spams::ist().
Here is the caller graph for this function:
|
inlinevirtual |
add something to the diagonal
Implements spams::AbstractMatrix< T >.
Definition at line 5148 of file linalg.h.
References spams::Vector< T >::dot().
Here is the call graph for this function:
|
inlinevirtual |
|
inlinevirtual |
returns the number of rows
Implements spams::AbstractMatrix< T >.
Definition at line 1029 of file linalg.h.
References spams::Data< T >::operator[]().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
inline |
returns the value of an index
Definition at line 5122 of file linalg.h.
References spams::Vector< T >::dot().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 5044 of file linalg.h.
References spams::Matrix< T >::mult(), and spams::Matrix< T >::n().
Here is the call graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.11