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