DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <fista.h>
Public Member Functions | |
T | eval (const Vector< T > &x) const |
void | fenchel (const Vector< T > &input, T &val, T &scal) const |
virtual bool | is_subgrad () const |
void | prox (const Vector< T > &x, Vector< T > &y, const T lambda) |
Ridge (const ParamReg< T > ¶m) | |
virtual void | sub_grad (const Vector< T > &input, Vector< T > &output) const |
virtual | ~Ridge () |
Public Member Functions inherited from spams::FISTA::Regularizer< T > | |
virtual T | eval_dual_norm (const Vector< T > &x) const |
virtual T | eval_dual_norm_paths (const Vector< T > &x, SpMatrix< T > &path) const |
virtual T | eval_paths (const Vector< T > &x, SpMatrix< T > &paths_mat) const |
virtual bool | is_fenchel () const |
virtual bool | is_intercept () const |
Regularizer () | |
Regularizer (const ParamReg< T > ¶m) | |
virtual void | reset () |
virtual | ~Regularizer () |
Additional Inherited Members | |
Protected Attributes inherited from spams::FISTA::Regularizer< T > | |
bool | _intercept |
bool | _pos |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements spams::FISTA::Regularizer< T >.
Definition at line 1202 of file fista.h.
References spams::Vector< T >::n(), and spams::Vector< T >::nrm2sq().
|
inlinevirtual |
returns phi^star( input ) and ouput=input if the fenchel is unconstrained returns 0 and scale input such that phi^star(output)=0 otherwise
Implements spams::FISTA::Regularizer< T >.
Definition at line 1205 of file fista.h.
References spams::Vector< T >::copy(), EPSILON, spams::FISTA::ParamFISTA< T >::eval, INFINITY, spams::Vector< T >::n(), and spams::Vector< T >::thrsPos().
|
inlinevirtual |
Reimplemented from spams::FISTA::Regularizer< T >.
|
inlinevirtual |
Implements spams::FISTA::Regularizer< T >.
Definition at line 1196 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::n(), spams::Vector< T >::scal(), and spams::Vector< T >::thrsPos().
|
inlinevirtual |
Reimplemented from spams::FISTA::Regularizer< T >.
Definition at line 1214 of file fista.h.
References spams::Vector< T >::copy(), spams::Vector< T >::n(), spams::Vector< T >::resize(), and spams::Vector< T >::scal().