ODIN
Public Member Functions | List of all members

#include <fitting.h>

Inheritance diagram for ExponentialFunction:
Inheritance graph
[legend]

Public Member Functions

float evaluate_f (float x) const
 
fvector evaluate_df (float x) const
 
unsigned int numof_fitpars () const
 
fitparget_fitpar (unsigned int i)
 
- Public Member Functions inherited from ModelFunction
Array< float, 1 > get_function (const Array< float, 1 > &xvals) const
 

Detailed Description

A function to fit an exponential curve to an 1D data set. It uses the function

A * exp(lambda * x)

Definition at line 200 of file fitting.h.

Member Function Documentation

◆ evaluate_df()

fvector ExponentialFunction::evaluate_df ( float  x) const
virtual

Returns the first derivatives at position 'x'.

Implements ModelFunction.

◆ evaluate_f()

float ExponentialFunction::evaluate_f ( float  x) const
virtual

Returns the function value at position 'x'.

Implements ModelFunction.

◆ get_fitpar()

fitpar& ExponentialFunction::get_fitpar ( unsigned int  i)
virtual

Returns reference to the i'th fitting parameter.

Implements ModelFunction.

◆ numof_fitpars()

unsigned int ExponentialFunction::numof_fitpars ( ) const
virtual

Returns the number of independent fitting parameters.

Implements ModelFunction.


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