NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Attributes | List of all members
ExponentialDecayFunction Class Reference
Inheritance diagram for ExponentialDecayFunction:
Inheritance graph
[legend]
Collaboration diagram for ExponentialDecayFunction:
Collaboration graph
[legend]

Public Member Functions

 ExponentialDecayFunction (unsigned int nDataPoints, vnl_vector< double > &xData, vnl_vector< double > &yData, bool flgUseGradient)
 
double compute (unsigned int i, double k, double s)
 Compute the value of the exponential decay function at a given index 'i'. More...
 
double compute (double x, double k, double s)
 Compute the value of the exponential decay function at a given 'x'. More...
 
double compute_dydk (unsigned int i, double k, double s)
 Compute the derivative with respect to 'k' at index 'i'. More...
 
double compute_dydk (double x, double k, double s)
 Compute the derivative with respect to 'k' at 'x'. More...
 
double compute_dydsig (unsigned int i, double k, double s)
 Compute the derivative with respect to 's' at index 'i'. More...
 
double compute_dydsig (double x, double k, double s)
 Compute the derivative with respect to 's' at 'x'. More...
 
void f (const vnl_vector< double > &a, vnl_vector< double > &residual) override
 Evaluate the vector of residual for parameters 'a'. More...
 
void gradf (const vnl_vector< double > &a, vnl_matrix< double > &J) override
 Evaluate the gradient with respect to each parameter. More...
 

Protected Attributes

unsigned int m_nDataPoints
 The number of data points. More...
 
vnl_vector< double > * m_xData
 The 'x' ordinate data values. More...
 
vnl_vector< double > * m_yData
 The 'y' ordinate data values. More...
 

Constructor & Destructor Documentation

ExponentialDecayFunction::ExponentialDecayFunction ( unsigned int  nDataPoints,
vnl_vector< double > &  xData,
vnl_vector< double > &  yData,
bool  flgUseGradient 
)
inline

Member Function Documentation

double ExponentialDecayFunction::compute ( unsigned int  i,
double  k,
double  s 
)
inline

Compute the value of the exponential decay function at a given index 'i'.

double ExponentialDecayFunction::compute ( double  x,
double  k,
double  s 
)
inline

Compute the value of the exponential decay function at a given 'x'.

double ExponentialDecayFunction::compute_dydk ( unsigned int  i,
double  k,
double  s 
)
inline

Compute the derivative with respect to 'k' at index 'i'.

double ExponentialDecayFunction::compute_dydk ( double  x,
double  k,
double  s 
)
inline

Compute the derivative with respect to 'k' at 'x'.

double ExponentialDecayFunction::compute_dydsig ( unsigned int  i,
double  k,
double  s 
)
inline

Compute the derivative with respect to 's' at index 'i'.

double ExponentialDecayFunction::compute_dydsig ( double  x,
double  k,
double  s 
)
inline

Compute the derivative with respect to 's' at 'x'.

void ExponentialDecayFunction::f ( const vnl_vector< double > &  a,
vnl_vector< double > &  residual 
)
inlineoverride

Evaluate the vector of residual for parameters 'a'.

void ExponentialDecayFunction::gradf ( const vnl_vector< double > &  a,
vnl_matrix< double > &  J 
)
inlineoverride

Evaluate the gradient with respect to each parameter.

Member Data Documentation

unsigned int ExponentialDecayFunction::m_nDataPoints
protected

The number of data points.

vnl_vector< double >* ExponentialDecayFunction::m_xData
protected

The 'x' ordinate data values.

vnl_vector< double >* ExponentialDecayFunction::m_yData
protected

The 'y' ordinate data values.


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