eLynx SDK
v3.0.1 C++ image processing API reference |
#include <BellCurve.h>
Public Member Functions | |
BellCurve () | |
Constructor, does nothing. | |
virtual uint32 | GetVariablesCount () const |
virtual uint32 | GetParametersCount () const |
virtual double | Evaluate (const IVector &iVars, const IVector &iParams) const |
virtual double | EvalDerivativeByParam (const IVector &iVars, const IVector &iParams, uint32 iByParam) const |
Definition at line 33 of file BellCurve.h.
eLynx::Math::BellCurve::BellCurve | ( | ) | [inline] |
virtual uint32 eLynx::Math::BellCurve::GetVariablesCount | ( | ) | const [inline, virtual] |
Returns the number of function idependent variables (only 1 (x) in this case).
Implements eLynx::Math::IFunctionNL.
Definition at line 43 of file BellCurve.h.
virtual uint32 eLynx::Math::BellCurve::GetParametersCount | ( | ) | const [inline, virtual] |
Returns the number of function parameters or coefficients. There are three parameters in this case (g, h and b).
Implements eLynx::Math::IFunctionNL.
Definition at line 48 of file BellCurve.h.
virtual double eLynx::Math::BellCurve::Evaluate | ( | const IVector & | iVars, | |
const IVector & | iParams | |||
) | const [virtual] |
Evaluates the function value for given values of variables and parameters.
iVars | the vector of independent variables values | |
iParams | the vector of function parameters values |
Implements eLynx::Math::IFunctionNL.
virtual double eLynx::Math::BellCurve::EvalDerivativeByParam | ( | const IVector & | iVars, | |
const IVector & | iParams, | |||
uint32 | iByParam | |||
) | const [virtual] |
Evaluates the function derivative by given parameter.
iVars | the vector of independent variables values | |
iParams | the vector of function parameters values | |
iByParam | the index of the parameter to compute derivative by |
Implements eLynx::Math::IFunctionNL.