DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Member Functions | Private Attributes | List of all members
spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda > Class Template Reference

#include <fista.h>

+ Inheritance diagram for spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >:
+ Collaboration diagram for spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >:

Detailed Description

template<typename T, typename D, typename RegA, typename RegB, bool order = true, bool scale_lambda = false>
class spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >

Definition at line 1295 of file fista.h.

Public Member Functions

 ComposeProx (const ParamReg< T > &param)
 
eval (const D &x) const
 
void fenchel (const D &input, T &val, T &scal) const
 
virtual bool is_fenchel () const
 
virtual bool is_subgrad () const
 
void prox (const D &x, D &y, const T lambda)
 
virtual void sub_grad (const D &input, D &output) const
 
virtual ~ComposeProx ()
 
- Public Member Functions inherited from spams::FISTA::Regularizer< T, D >
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 bool is_intercept () const
 
 Regularizer ()
 
 Regularizer (const ParamReg< T > &param)
 
virtual void reset ()
 
virtual ~Regularizer ()
 

Private Attributes

_lambda2d1
 
RegA * _regA
 
RegB * _regB
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::ComposeProx ( const ParamReg< T > &  param)
inline

Definition at line 1297 of file fista.h.

References spams::FISTA::ParamReg< T >::lambda2d1.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
virtual spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::~ComposeProx ( )
inlinevirtual

Definition at line 1302 of file fista.h.

Member Function Documentation

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
T spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::eval ( const D &  x) const
inlinevirtual

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

Definition at line 1324 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
void spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::fenchel ( const D &  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, D >.

Definition at line 1328 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
virtual bool spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::is_fenchel ( ) const
inlinevirtual

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

Definition at line 1327 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
virtual bool spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::is_subgrad ( ) const
inlinevirtual

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

Definition at line 1329 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
void spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::prox ( const D &  x,
D &  y,
const T  lambda 
)
inlinevirtual

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

Definition at line 1304 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
virtual void spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::sub_grad ( const D &  input,
D &  output 
) const
inlinevirtual

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

Definition at line 1330 of file fista.h.

Member Data Documentation

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
T spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::_lambda2d1
private

Definition at line 1339 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
RegA* spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::_regA
private

Definition at line 1335 of file fista.h.

template<typename T , typename D , typename RegA , typename RegB , bool order = true, bool scale_lambda = false>
RegB* spams::FISTA::ComposeProx< T, D, RegA, RegB, order, scale_lambda >::_regB
private

Definition at line 1338 of file fista.h.


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