DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <fista.h>
Public Member Functions | |
void | add_mult_design_matrix (const Vector< T > &prim, Vector< T > &out, const T fact) const |
void | compute_new_prim (Vector< T > &prim, const Vector< T > &prim_var, const Vector< T > &dual_var, const T gamma, const T delta) const |
T | eval (const Vector< T > &alpha) const |
T | eval_split (const Matrix< T > &input) const |
virtual T | fenchel (const Vector< T > &input) const |
void | grad (const Vector< T > &alpha, Vector< T > &grad) const |
void | init (const Vector< T > &x) |
void | init_prim_var (Vector< T > &prim_var) const |
void | init_split_variables (Matrix< T > &splitted_w) const |
int | num_components () const |
virtual void | prox_prim_var (Vector< T > &out, const Vector< T > &dual_var, const Vector< T > &prim_var, const T c) const |
void | prox_split (Matrix< T > &splitted_w, const T lambda) const |
SqLoss (const AbstractMatrixB< T > &D) | |
SqLoss (const AbstractMatrixB< T > &D, const Matrix< T > &G) | |
virtual bool | test_backtracking (const Vector< T > &y, const Vector< T > &grad, const Vector< T > &prox, const T L) const |
virtual void | var_fenchel (const Vector< T > &x, Vector< T > &grad1, Vector< T > &grad2, const bool intercept) const |
virtual | ~SqLoss () |
Public Member Functions inherited from spams::FISTA::Loss< T > | |
virtual bool | is_fenchel () const |
Loss () | |
virtual | ~Loss () |
Public Member Functions inherited from spams::FISTA::SplittingFunction< T > | |
virtual T | eval_weighted (const Vector< T > &input, const Matrix< T > &input_struct, const T *weights) const |
virtual void | reset () |
SplittingFunction () | |
virtual | ~SplittingFunction () |
Private Member Functions | |
SqLoss< T > & | operator= (const SqLoss< T > &dict) |
SqLoss (const SqLoss< T > &dict) | |
Private Attributes | |
bool | _compute_gram |
const AbstractMatrixB< T > * | _D |
Vector< T > | _DtX |
const Matrix< T > * | _G |
Vector< T > | _x |
|
inline |
|
inline |
|
inlinevirtual |
|
explicitprivate |
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
Definition at line 471 of file fista.h.
References spams::Vector< T >::add(), spams::Vector< T >::mult(), and spams::Vector< T >::scal().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 372 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::n(), spams::Vector< T >::nrm2sq(), and spams::Vector< T >::toSparse().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 441 of file fista.h.
References spams::Matrix< T >::refCol().
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 413 of file fista.h.
References spams::Vector< T >::dot(), and spams::Vector< T >::nrm2sq().
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 384 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::n(), and spams::Vector< T >::toSparse().
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
Definition at line 458 of file fista.h.
References spams::Vector< T >::resize(), and spams::Vector< T >::setZeros().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 454 of file fista.h.
References spams::Matrix< T >::resize(), and spams::Matrix< T >::setZeros().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
|
private |
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
Definition at line 462 of file fista.h.
References spams::Vector< T >::add(), spams::FISTA::ParamFISTA< T >::c, spams::Vector< T >::copy(), spams::FISTA::ParamFISTA< T >::gamma, and spams::Vector< T >::scal().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 429 of file fista.h.
References spams::Vector< T >::add(), and spams::Matrix< T >::refCol().
|
inlinevirtual |
Reimplemented from spams::FISTA::Loss< T >.
Definition at line 399 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::mult(), spams::Vector< T >::n(), spams::Vector< T >::sub(), and spams::Vector< T >::toSparse().
|
inlinevirtual |
Implements spams::FISTA::Loss< T >.
Definition at line 416 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::n(), spams::Vector< T >::toSparse(), and spams::Vector< T >::whiten().
|
private |
|
private |
|
private |
|
private |
|
private |