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

#include <fista.h>

+ Inheritance diagram for spams::FISTA::ProxMatToVec< T, ProxMat >:
+ Collaboration diagram for spams::FISTA::ProxMatToVec< T, ProxMat >:

Detailed Description

template<typename T, typename ProxMat>
class spams::FISTA::ProxMatToVec< T, ProxMat >

Definition at line 1621 of file fista.h.

Public Member Functions

eval (const Vector< T > &x) const
 
void fenchel (const Vector< T > &x, T &val, T &scal) const
 
virtual bool is_fenchel () const
 
void prox (const Vector< T > &x, Vector< T > &y, const T lambda)
 
 ProxMatToVec (const ParamReg< T > &param)
 
virtual ~ProxMatToVec ()
 
- 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
 
virtual bool is_subgrad () const
 
 Regularizer ()
 
 Regularizer (const ParamReg< T > &param)
 
virtual void reset ()
 
virtual void sub_grad (const Vector< T > &input, Vector< T > &output) const
 
virtual ~Regularizer ()
 

Private Attributes

ProxMat * _proxy
 
int _size_group
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T , typename ProxMat >
spams::FISTA::ProxMatToVec< T, ProxMat >::ProxMatToVec ( const ParamReg< T > &  param)
inline
template<typename T , typename ProxMat >
virtual spams::FISTA::ProxMatToVec< T, ProxMat >::~ProxMatToVec ( )
inlinevirtual

Definition at line 1629 of file fista.h.

Member Function Documentation

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

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

Definition at line 1639 of file fista.h.

References spams::Vector< T >::n(), and spams::Vector< T >::rawX().

+ Here is the call graph for this function:

template<typename T , typename ProxMat >
void spams::FISTA::ProxMatToVec< T, ProxMat >::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 1645 of file fista.h.

References spams::Vector< T >::n(), and spams::Vector< T >::rawX().

+ Here is the call graph for this function:

template<typename T , typename ProxMat >
virtual bool spams::FISTA::ProxMatToVec< T, ProxMat >::is_fenchel ( ) const
inlinevirtual

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

Definition at line 1644 of file fista.h.

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

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

Definition at line 1631 of file fista.h.

References spams::Vector< T >::n(), spams::Vector< T >::rawX(), and spams::Vector< T >::resize().

+ Here is the call graph for this function:

Member Data Documentation

template<typename T , typename ProxMat >
ProxMat* spams::FISTA::ProxMatToVec< T, ProxMat >::_proxy
private

Definition at line 1653 of file fista.h.

template<typename T , typename ProxMat >
int spams::FISTA::ProxMatToVec< T, ProxMat >::_size_group
private

Definition at line 1649 of file fista.h.


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