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

#include <fista.h>

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

Detailed Description

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

Definition at line 852 of file fista.h.

Public Member Functions

eval (const Matrix< T > &alpha) const
 
virtual T fenchel (const Matrix< T > &input) const
 
void grad (const Matrix< T > &alpha, Matrix< T > &grad) const
 
virtual void init (const Matrix< T > &x)
 
 SqLossMat (const AbstractMatrixB< T > &D)
 
 SqLossMat (const AbstractMatrixB< T > &D, const Matrix< T > &G)
 
virtual bool test_backtracking (const Matrix< T > &y, const Matrix< T > &grad, const Matrix< T > &prox, const T L) const
 
virtual void var_fenchel (const Matrix< T > &x, Matrix< T > &grad1, Matrix< T > &grad2, const bool intercept) const
 
virtual ~SqLossMat ()
 
- Public Member Functions inherited from spams::FISTA::Loss< T, Matrix< T >, Matrix< T > >
virtual bool is_fenchel () const
 
 Loss ()
 
virtual ~Loss ()
 

Private Member Functions

SqLossMat< T > & operator= (const SqLossMat< T > &dict)
 
 SqLossMat (const SqLossMat< T > &dict)
 

Private Attributes

bool _compute_gram
 
const AbstractMatrixB< T > * _D
 
Matrix< T > _DtX
 
const Matrix< T > * _G
 
Matrix< T > _x
 

Constructor & Destructor Documentation

template<typename T>
spams::FISTA::SqLossMat< T >::SqLossMat ( const AbstractMatrixB< T > &  D)
inline

Definition at line 854 of file fista.h.

template<typename T>
spams::FISTA::SqLossMat< T >::SqLossMat ( const AbstractMatrixB< T > &  D,
const Matrix< T > &  G 
)
inline

Definition at line 855 of file fista.h.

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

Definition at line 857 of file fista.h.

template<typename T>
spams::FISTA::SqLossMat< T >::SqLossMat ( const SqLossMat< T > &  dict)
explicitprivate

Member Function Documentation

template<typename T>
T spams::FISTA::SqLossMat< T >::eval ( const Matrix< T > &  alpha) const
inlinevirtual

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

Definition at line 866 of file fista.h.

References spams::Matrix< T >::copy(), spams::Matrix< T >::normFsq(), and spams::Matrix< T >::toSparse().

+ Here is the call graph for this function:

template<typename T>
virtual T spams::FISTA::SqLossMat< T >::fenchel ( const Matrix< T > &  input) const
inlinevirtual

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

Definition at line 907 of file fista.h.

References spams::Matrix< T >::dot(), and spams::Matrix< T >::normFsq().

+ Here is the call graph for this function:

template<typename T>
void spams::FISTA::SqLossMat< T >::grad ( const Matrix< T > &  alpha,
Matrix< T > &  grad 
) const
inlinevirtual

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

Definition at line 874 of file fista.h.

References spams::Matrix< T >::copy(), and spams::Matrix< T >::toSparse().

+ Here is the call graph for this function:

template<typename T>
virtual void spams::FISTA::SqLossMat< T >::init ( const Matrix< T > &  x)
inlinevirtual

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

Definition at line 859 of file fista.h.

template<typename T>
SqLossMat<T>& spams::FISTA::SqLossMat< T >::operator= ( const SqLossMat< T > &  dict)
private
template<typename T>
virtual bool spams::FISTA::SqLossMat< T >::test_backtracking ( const Matrix< T > &  y,
const Matrix< T > &  grad,
const Matrix< T > &  prox,
const T  L 
) const
inlinevirtual
template<typename T>
virtual void spams::FISTA::SqLossMat< T >::var_fenchel ( const Matrix< T > &  x,
Matrix< T > &  grad1,
Matrix< T > &  grad2,
const bool  intercept 
) const
inlinevirtual

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

Definition at line 910 of file fista.h.

References spams::Matrix< T >::center(), spams::Matrix< T >::copy(), and spams::Matrix< T >::toSparse().

+ Here is the call graph for this function:

Member Data Documentation

template<typename T>
bool spams::FISTA::SqLossMat< T >::_compute_gram
private

Definition at line 925 of file fista.h.

template<typename T>
const AbstractMatrixB<T>* spams::FISTA::SqLossMat< T >::_D
private

Definition at line 923 of file fista.h.

template<typename T>
Matrix<T> spams::FISTA::SqLossMat< T >::_DtX
private

Definition at line 927 of file fista.h.

template<typename T>
const Matrix<T>* spams::FISTA::SqLossMat< T >::_G
private

Definition at line 926 of file fista.h.

template<typename T>
Matrix<T> spams::FISTA::SqLossMat< T >::_x
private

Definition at line 924 of file fista.h.


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