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

#include <fista.h>

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

Detailed Description

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

Definition at line 1848 of file fista.h.

Public Member Functions

eval (const Matrix< T > &x) const
 
void fenchel (const Matrix< T > &input, T &val, T &scal) const
 
virtual bool is_subgrad () const
 
 MixedL1LINF (const ParamReg< T > &param)
 
void prox (const Matrix< T > &x, Matrix< T > &y, const T lambda)
 
virtual void sub_grad (const Matrix< T > &input, Matrix< T > &output) const
 
virtual ~MixedL1LINF ()
 
- Public Member Functions inherited from spams::FISTA::Regularizer< T, Matrix< T > >
virtual T eval_dual_norm (const Matrix< T > &x) const
 
virtual T eval_dual_norm_paths (const Matrix< T > &x, SpMatrix< T > &path) const
 
virtual T eval_paths (const Matrix< T > &x, SpMatrix< T > &paths_mat) const
 
virtual bool is_fenchel () const
 
virtual bool is_intercept () const
 
 Regularizer ()
 
 Regularizer (const ParamReg< T > &param)
 
virtual void reset ()
 
virtual ~Regularizer ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Definition at line 1850 of file fista.h.

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

Definition at line 1851 of file fista.h.

Member Function Documentation

template<typename T >
T spams::FISTA::MixedL1LINF< T >::eval ( const Matrix< T > &  x) const
inlinevirtual

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

Definition at line 1867 of file fista.h.

References spams::Vector< T >::asum(), spams::Vector< T >::n(), and spams::Matrix< T >::norm_inf_rows().

+ Here is the call graph for this function:

template<typename T >
void spams::FISTA::MixedL1LINF< T >::fenchel ( const Matrix< 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, Matrix< T > >.

Definition at line 1872 of file fista.h.

References spams::Matrix< T >::copy(), EPSILON, spams::Vector< T >::fmaxval(), INFINITY, spams::Vector< T >::n(), spams::Matrix< T >::norm_l1_rows(), and spams::Matrix< T >::thrsPos().

+ Here is the call graph for this function:

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

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

Definition at line 1888 of file fista.h.

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

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

Definition at line 1853 of file fista.h.

References spams::Matrix< T >::copy(), spams::Matrix< T >::m(), spams::Matrix< T >::n(), and spams::Matrix< T >::thrsPos().

+ Here is the call graph for this function:

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

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