ODIN
Public Member Functions | List of all members
ExponentialFunctionWithOffset Struct Reference

#include <fitting.h>

Inheritance diagram for ExponentialFunctionWithOffset:
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) + C

Definition at line 221 of file fitting.h.

Member Function Documentation

◆ evaluate_df()

fvector ExponentialFunctionWithOffset::evaluate_df ( float  x) const
virtual

Returns the first derivatives at position 'x'.

Implements ModelFunction.

◆ evaluate_f()

float ExponentialFunctionWithOffset::evaluate_f ( float  x) const
virtual

Returns the function value at position 'x'.

Implements ModelFunction.

◆ get_fitpar()

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

Returns reference to the i'th fitting parameter.

Implements ModelFunction.

◆ numof_fitpars()

unsigned int ExponentialFunctionWithOffset::numof_fitpars ( ) const
virtual

Returns the number of independent fitting parameters.

Implements ModelFunction.


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