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 > &w) const |
virtual T | eval_split (const Matrix< T > &input) const |
HingeLoss (const AbstractMatrixB< T > &X) | |
void | init (const Vector< T > &y) |
void | init_prim_var (Vector< T > &prim_var) const |
void | init_split_variables (Matrix< T > &splitted_w) const |
virtual int | num_components () const |
void | prox_prim_var (Vector< T > &out, const Vector< T > &dual_var, const Vector< T > &prim_var, const T lambda, const T c) const |
void | prox_split (Matrix< T > &splitted_w, const T lambda) const |
virtual | ~HingeLoss () |
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 | prox_prim_var (Vector< T > &out, const Vector< T > &dual_var, const Vector< T > &prim_var, const T gamma) const |
virtual void | reset () |
SplittingFunction () | |
virtual | ~SplittingFunction () |
Private Member Functions | |
HingeLoss (const HingeLoss< T > &dict) | |
HingeLoss< T > & | operator= (const HingeLoss< T > &dict) |
Private Attributes | |
const AbstractMatrixB< T > * | _X |
Vector< T > | _y |
|
inline |
|
inlinevirtual |
|
explicitprivate |
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
Definition at line 551 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 504 of file fista.h.
References spams::Vector< T >::n(), and spams::Vector< T >::toSparse().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 515 of file fista.h.
References MAX, and spams::Matrix< T >::refCol().
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
|
inlinevirtual |
Reimplemented from spams::FISTA::SplittingFunction< T >.
Definition at line 531 of file fista.h.
References spams::Vector< T >::resize(), and spams::Vector< T >::setZeros().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 527 of file fista.h.
References spams::Matrix< T >::resize(), and spams::Matrix< T >::setZeros().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
|
private |
|
inline |
Definition at line 535 of file fista.h.
References spams::FISTA::ParamFISTA< T >::c, spams::Vector< T >::copy(), spams::FISTA::ParamFISTA< T >::gamma, spams::Vector< T >::n(), and spams::Vector< T >::scal().
|
inlinevirtual |
Implements spams::FISTA::SplittingFunction< T >.
Definition at line 564 of file fista.h.
References spams::Vector< T >::add(), and spams::Matrix< T >::refCol().
|
private |
|
private |