DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Member Functions | List of all members
spams::FISTA::None< T > Class Template Reference

#include <fista.h>

+ Inheritance diagram for spams::FISTA::None< T >:
+ Collaboration diagram for spams::FISTA::None< T >:

Detailed Description

template<typename T>
class spams::FISTA::None< T >

Definition at line 1166 of file fista.h.

Public Member Functions

eval (const Vector< T > &x) const
 
virtual T eval_split (const SpMatrix< T > &input) const
 
void fenchel (const Vector< T > &input, T &val, T &scal) const
 
virtual void init (const Vector< T > &y)
 
virtual void init_split_variables (SpMatrix< T > &splitted_w) const
 
virtual bool is_fenchel () const
 
virtual bool is_subgrad () const
 
 None ()
 
 None (const ParamReg< T > &param)
 
virtual int num_components () const
 
void prox (const Vector< T > &x, Vector< T > &y, const T lambda)
 
virtual void prox_split (SpMatrix< T > &splitted_w, const T lambda) const
 
virtual void reset ()
 
virtual void sub_grad (const Vector< T > &input, Vector< T > &output) const
 
virtual ~None ()
 
- 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_intercept () const
 
 Regularizer ()
 
 Regularizer (const ParamReg< T > &param)
 
virtual ~Regularizer ()
 
- Public Member Functions inherited from spams::FISTA::SplittingFunction< T, SpMatrix< T > >
virtual void add_mult_design_matrix (const Vector< T > &prim, Vector< T > &out, const T fact) const
 
virtual void compute_new_prim (Vector< T > &prim, const Vector< T > &prim_var, const Vector< T > &dual_var, const T gamma, const T delta) const
 
virtual T eval_weighted (const Vector< T > &input, const SpMatrix< T > &input_struct, const T *weights) const
 
virtual void init_prim_var (Vector< T > &prim_var) const
 
virtual void prox_prim_var (Vector< T > &out, const Vector< T > &dual_var, const Vector< T > &prim_var, const T gamma) const
 
 SplittingFunction ()
 
virtual ~SplittingFunction ()
 

Additional Inherited Members

- Protected Attributes inherited from spams::FISTA::Regularizer< T >
bool _intercept
 
bool _pos
 

Constructor & Destructor Documentation

template<typename T >
spams::FISTA::None< T >::None ( )
inline

Definition at line 1168 of file fista.h.

template<typename T >
spams::FISTA::None< T >::None ( const ParamReg< T > &  param)
inline

Definition at line 1169 of file fista.h.

template<typename T >
virtual spams::FISTA::None< T >::~None ( )
inlinevirtual

Definition at line 1170 of file fista.h.

Member Function Documentation

template<typename T >
T spams::FISTA::None< T >::eval ( const Vector< T > &  x) const
inlinevirtual

Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1175 of file fista.h.

template<typename T >
virtual T spams::FISTA::None< T >::eval_split ( const SpMatrix< T > &  input) const
inlinevirtual

Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1183 of file fista.h.

template<typename T >
void spams::FISTA::None< T >::fenchel ( const Vector< T > &  input,
T &  val,
T &  scal 
) const
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 1176 of file fista.h.

template<typename T >
virtual void spams::FISTA::None< T >::init ( const Vector< T > &  y)
inlinevirtual

Reimplemented from spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1187 of file fista.h.

template<typename T >
virtual void spams::FISTA::None< T >::init_split_variables ( SpMatrix< T > &  splitted_w) const
inlinevirtual

Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1186 of file fista.h.

template<typename T >
virtual bool spams::FISTA::None< T >::is_fenchel ( ) const
inlinevirtual

Reimplemented from spams::FISTA::Regularizer< T >.

Definition at line 1177 of file fista.h.

template<typename T >
virtual bool spams::FISTA::None< T >::is_subgrad ( ) const
inlinevirtual

Reimplemented from spams::FISTA::Regularizer< T >.

Definition at line 1178 of file fista.h.

template<typename T >
virtual int spams::FISTA::None< T >::num_components ( ) const
inlinevirtual

Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1184 of file fista.h.

template<typename T >
void spams::FISTA::None< T >::prox ( const Vector< T > &  x,
Vector< T > &  y,
const T  lambda 
)
inlinevirtual

Implements spams::FISTA::Regularizer< T >.

Definition at line 1172 of file fista.h.

References spams::Vector< T >::copy().

+ Here is the call graph for this function:

template<typename T >
virtual void spams::FISTA::None< T >::prox_split ( SpMatrix< T > &  splitted_w,
const T  lambda 
) const
inlinevirtual

Implements spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1185 of file fista.h.

template<typename T >
virtual void spams::FISTA::None< T >::reset ( )
inlinevirtual

Reimplemented from spams::FISTA::SplittingFunction< T, SpMatrix< T > >.

Definition at line 1182 of file fista.h.

template<typename T >
virtual void spams::FISTA::None< T >::sub_grad ( const Vector< T > &  input,
Vector< T > &  output 
) const
inlinevirtual

Reimplemented from spams::FISTA::Regularizer< T >.

Definition at line 1179 of file fista.h.

References spams::Vector< T >::setZeros().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: