DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
spams::FISTA::Regularizer< T, D > Class Template Referenceabstract

#include <fista.h>

+ Inheritance diagram for spams::FISTA::Regularizer< T, D >:

Detailed Description

template<typename T, typename D = Vector<T>>
class spams::FISTA::Regularizer< T, D >

Definition at line 1040 of file fista.h.

Public Member Functions

virtual T eval (const D &input) const =0
 
virtual T eval_dual_norm (const D &x) const
 
virtual T eval_dual_norm_paths (const D &x, SpMatrix< T > &path) const
 
virtual T eval_paths (const D &x, SpMatrix< T > &paths_mat) const
 
virtual void fenchel (const D &input, T &val, T &scal) const =0
 
virtual bool is_fenchel () const
 
virtual bool is_intercept () const
 
virtual bool is_subgrad () const
 
virtual void prox (const D &input, D &output, const T lambda)=0
 
 Regularizer ()
 
 Regularizer (const ParamReg< T > &param)
 
virtual void reset ()
 
virtual void sub_grad (const D &input, D &output) const
 
virtual ~Regularizer ()
 

Protected Attributes

bool _intercept
 
bool _pos
 

Private Member Functions

Regularizer< T, D > & operator= (const Regularizer< T, D > &reg)
 
 Regularizer (const Regularizer< T, D > &reg)
 

Constructor & Destructor Documentation

template<typename T, typename D = Vector<T>>
spams::FISTA::Regularizer< T, D >::Regularizer ( )
inline

Definition at line 1042 of file fista.h.

template<typename T, typename D = Vector<T>>
spams::FISTA::Regularizer< T, D >::Regularizer ( const ParamReg< T > &  param)
inline

Definition at line 1043 of file fista.h.

template<typename T, typename D = Vector<T>>
virtual spams::FISTA::Regularizer< T, D >::~Regularizer ( )
inlinevirtual

Definition at line 1047 of file fista.h.

template<typename T, typename D = Vector<T>>
spams::FISTA::Regularizer< T, D >::Regularizer ( const Regularizer< T, D > &  reg)
explicitprivate

Member Function Documentation

template<typename T, typename D = Vector<T>>
virtual T spams::FISTA::Regularizer< T, D >::eval ( const D &  input) const
pure virtual
template<typename T, typename D = Vector<T>>
virtual T spams::FISTA::Regularizer< T, D >::eval_dual_norm ( const D &  x) const
inlinevirtual

Reimplemented in spams::FISTA::GraphPathConv< T >.

Definition at line 1060 of file fista.h.

Referenced by spams::FISTA::EvalGraphPath().

+ Here is the caller graph for this function:

template<typename T, typename D = Vector<T>>
virtual T spams::FISTA::Regularizer< T, D >::eval_dual_norm_paths ( const D &  x,
SpMatrix< T > &  path 
) const
inlinevirtual

Reimplemented in spams::FISTA::GraphPathConv< T >.

Definition at line 1062 of file fista.h.

Referenced by spams::FISTA::EvalGraphPath().

+ Here is the caller graph for this function:

template<typename T, typename D = Vector<T>>
virtual T spams::FISTA::Regularizer< T, D >::eval_paths ( const D &  x,
SpMatrix< T > &  paths_mat 
) const
inlinevirtual

Reimplemented in spams::FISTA::GraphPathConv< T >, and spams::FISTA::GraphPathL0< T >.

Definition at line 1059 of file fista.h.

Referenced by spams::FISTA::EvalGraphPath().

+ Here is the caller graph for this function:

template<typename T, typename D = Vector<T>>
virtual void spams::FISTA::Regularizer< T, D >::fenchel ( const D &  input,
T &  val,
T &  scal 
) const
pure virtual
template<typename T, typename D = Vector<T>>
virtual bool spams::FISTA::Regularizer< T, D >::is_fenchel ( ) const
inlinevirtual
template<typename T, typename D = Vector<T>>
virtual bool spams::FISTA::Regularizer< T, D >::is_intercept ( ) const
inlinevirtual

Definition at line 1056 of file fista.h.

Referenced by spams::FISTA::duality_gap().

+ Here is the caller graph for this function:

template<typename T, typename D = Vector<T>>
virtual bool spams::FISTA::Regularizer< T, D >::is_subgrad ( ) const
inlinevirtual
template<typename T, typename D = Vector<T>>
Regularizer<T,D>& spams::FISTA::Regularizer< T, D >::operator= ( const Regularizer< T, D > &  reg)
private
template<typename T, typename D = Vector<T>>
virtual void spams::FISTA::Regularizer< T, D >::prox ( const D &  input,
D &  output,
const T  lambda 
)
pure virtual
template<typename T, typename D = Vector<T>>
virtual void spams::FISTA::Regularizer< T, D >::reset ( )
inlinevirtual
template<typename T, typename D = Vector<T>>
virtual void spams::FISTA::Regularizer< T, D >::sub_grad ( const D &  input,
D &  output 
) const
inlinevirtual

Member Data Documentation

template<typename T, typename D = Vector<T>>
bool spams::FISTA::Regularizer< T, D >::_intercept
protected

Definition at line 1066 of file fista.h.

template<typename T, typename D = Vector<T>>
bool spams::FISTA::Regularizer< T, D >::_pos
protected

Definition at line 1062 of file fista.h.


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