CbmRoot
CbmLitPolynom Class Referenceabstract

Abstract class for polynomial function. More...

#include <CbmLitFieldFitter.h>

Inheritance diagram for CbmLitPolynom:
[legend]

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...
 

Detailed Description

Abstract class for polynomial function.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2009

Definition at line 21 of file CbmLitFieldFitter.h.

Constructor & Destructor Documentation

◆ CbmLitPolynom()

CbmLitPolynom::CbmLitPolynom ( )
inline

Constructor.

Definition at line 26 of file CbmLitFieldFitter.h.

◆ ~CbmLitPolynom()

virtual CbmLitPolynom::~CbmLitPolynom ( )
inlinevirtual

Destructor.

Definition at line 31 of file CbmLitFieldFitter.h.

Member Function Documentation

◆ Calculate()

virtual double CbmLitPolynom::Calculate ( double  x,
double  y,
double  c[] 
) const
pure virtual

Returns calculated value.

Parameters
[in]xX coordinate.
[in]yY coordinate.
[in]cArray of polynomial coefficients.
Returns
Calculated field value.

Implemented in CbmLitPolynom10, CbmLitPolynom9, CbmLitPolynom8, CbmLitPolynom7, CbmLitPolynom6, CbmLitPolynom5, CbmLitPolynom4, CbmLitPolynom3, CbmLitPolynom2, CbmLitPolynom1, and CbmLitPolynom0.

Referenced by FCNPolynom::DoEval().

◆ GetNofCoefficients()

virtual unsigned int CbmLitPolynom::GetNofCoefficients ( ) const
pure virtual

Return number of coefficients for this polynomial function.

Returns
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().


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