Public Member Functions | List of all members

#include <fitting.h>

Inheritance diagram for SinusFunction:
Inheritance graph

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

Class for fitting sinus function to a 1D curve

y= A*sin(m*x + c)

Definition at line 266 of file fitting.h.

Member Function Documentation

§ evaluate_df()

fvector SinusFunction::evaluate_df ( float  x) const

Returns the first derivatives at position 'x'.

Implements ModelFunction.

§ evaluate_f()

float SinusFunction::evaluate_f ( float  x) const

Returns the function value at position 'x'.

Implements ModelFunction.

§ get_fitpar()

fitpar& SinusFunction::get_fitpar ( unsigned int  i)

Returns reference to the i'th fitting parameter.

Implements ModelFunction.

§ numof_fitpars()

unsigned int SinusFunction::numof_fitpars ( ) const

Returns the number of independent fitting parameters.

Implements ModelFunction.

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