aimsalgo  5.1.2
Neuroimaging image processing
LMFunction< T > Class Template Reference

#include <aims/optimization/lmfunc.h>

Inheritance diagram for LMFunction< T >:

Public Member Functions

 LMFunction ()
 
 LMFunction (const LMFunction< T > &)
 
virtual ~LMFunction ()
 
std::vector< T > & param ()
 
std::vector< T > & derivative ()
 
virtual T apply (T)
 
virtual T eval (T)
 

Protected Attributes

std::vector< T > par
 
std::vector< T > der
 

Detailed Description

template<class T>
class LMFunction< T >

Definition at line 42 of file lmfunc.h.

Constructor & Destructor Documentation

◆ LMFunction() [1/2]

template<class T >
LMFunction< T >::LMFunction ( )
inline

Definition at line 46 of file lmfunc.h.

◆ LMFunction() [2/2]

template<class T >
LMFunction< T >::LMFunction ( const LMFunction< T > &  func)
inline

Definition at line 64 of file lmfunc.h.

◆ ~LMFunction()

template<class T >
LMFunction< T >::~LMFunction
inlinevirtual

Definition at line 71 of file lmfunc.h.

Member Function Documentation

◆ apply()

template<class T >
virtual T LMFunction< T >::apply ( )
inlinevirtual

Reimplemented in LMGaussian< T >, LMGamma< T >, and LM2Gaussian< T >.

Definition at line 53 of file lmfunc.h.

◆ derivative()

template<class T >
std::vector< T >& LMFunction< T >::derivative ( )
inline

Definition at line 51 of file lmfunc.h.

References LMFunction< T >::der.

◆ eval()

template<class T >
virtual T LMFunction< T >::eval ( )
inlinevirtual

Reimplemented in LMGaussian< T >, LMGamma< T >, and LM2Gaussian< T >.

Definition at line 54 of file lmfunc.h.

◆ param()

template<class T >
std::vector< T >& LMFunction< T >::param ( )
inline

Definition at line 50 of file lmfunc.h.

References LMFunction< T >::par.

Member Data Documentation

◆ der

template<class T >
std::vector< T > LMFunction< T >::der
protected

◆ par

template<class T >
std::vector< T > LMFunction< T >::par
protected

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