CbmRoot
|
Abstract class for polynomial function. More...
#include <CbmLitFieldFitter.h>
Public Member Functions | |
CbmLitPolynom () | |
Constructor. More... | |
virtual | ~CbmLitPolynom () |
Destructor. More... | |
virtual double | Calculate (double x, double y, double c[]) const =0 |
Returns calculated value. More... | |
virtual unsigned int | GetNofCoefficients () const =0 |
Return number of coefficients for this polynomial function. More... | |
|
inline |
Constructor.
Definition at line 26 of file CbmLitFieldFitter.h.
|
inlinevirtual |
Destructor.
Definition at line 31 of file CbmLitFieldFitter.h.
|
pure virtual |
Returns calculated value.
[in] | x | X coordinate. |
[in] | y | Y coordinate. |
[in] | c | Array of polynomial coefficients. |
Implemented in CbmLitPolynom10, CbmLitPolynom9, CbmLitPolynom8, CbmLitPolynom7, CbmLitPolynom6, CbmLitPolynom5, CbmLitPolynom4, CbmLitPolynom3, CbmLitPolynom2, CbmLitPolynom1, and CbmLitPolynom0.
Referenced by FCNPolynom::DoEval().
|
pure virtual |
Return number of coefficients for this polynomial function.
Implemented in CbmLitPolynom10, CbmLitPolynom9, CbmLitPolynom8, CbmLitPolynom7, CbmLitPolynom6, CbmLitPolynom5, CbmLitPolynom4, CbmLitPolynom3, CbmLitPolynom2, CbmLitPolynom1, and CbmLitPolynom0.
Referenced by CbmLitFieldFitter::FitSlice(), and FCNPolynom::NDim().