CbmRoot
Loading...
Searching...
No Matches
CbmLitPolynom Class Referenceabstract

Abstract class for polynomial function. More...

#include <CbmLitFieldFitter.h>

Inheritance diagram for CbmLitPolynom:
[legend]

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.
 

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 26 of file CbmLitFieldFitter.h.

Constructor & Destructor Documentation

◆ CbmLitPolynom()

CbmLitPolynom::CbmLitPolynom ( )
inline

Constructor.

Definition at line 31 of file CbmLitFieldFitter.h.

◆ ~CbmLitPolynom()

virtual CbmLitPolynom::~CbmLitPolynom ( )
inlinevirtual

Destructor.

Definition at line 36 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 CbmLitPolynom0, CbmLitPolynom10, CbmLitPolynom1, CbmLitPolynom2, CbmLitPolynom3, CbmLitPolynom4, CbmLitPolynom5, CbmLitPolynom6, CbmLitPolynom7, CbmLitPolynom8, and CbmLitPolynom9.

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 CbmLitPolynom0, CbmLitPolynom10, CbmLitPolynom1, CbmLitPolynom2, CbmLitPolynom3, CbmLitPolynom4, CbmLitPolynom5, CbmLitPolynom6, CbmLitPolynom7, CbmLitPolynom8, and CbmLitPolynom9.

Referenced by CbmLitFieldFitter::FitSlice(), and FCNPolynom::NDim().


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