CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
Genfun::CumulativeChiSquare Class Reference

#include <CumulativeChiSquare.hh>

+ Inheritance diagram for Genfun::CumulativeChiSquare:

Public Member Functions

 CumulativeChiSquare (unsigned int nDof)
 
 CumulativeChiSquare (const CumulativeChiSquare &right)
 
virtual ~CumulativeChiSquare ()
 
virtual double operator() (double argument) const override
 
virtual double operator() (const Argument &a) const override
 
unsigned int nDof () const
 
- Public Member Functions inherited from Genfun::AbsFunction
 AbsFunction ()
 
 AbsFunction (const AbsFunction &right)
 
virtual ~AbsFunction ()
 
virtual unsigned int dimensionality () const
 
virtual double operator() (double argument) const =0
 
virtual double operator() (const Argument &argument) const =0
 
virtual AbsFunctionclone () const =0
 
virtual FunctionComposition operator() (const AbsFunction &f) const
 
virtual ParameterComposition operator() (const AbsParameter &p) const
 
Derivative derivative (const Variable &v) const
 
Derivative prime () const
 
virtual bool hasAnalyticDerivative () const
 
virtual Derivative partial (unsigned int) const
 

Detailed Description

Author

Definition at line 19 of file CumulativeChiSquare.hh.

Constructor & Destructor Documentation

◆ CumulativeChiSquare() [1/2]

Genfun::CumulativeChiSquare::CumulativeChiSquare ( unsigned int  nDof)

Definition at line 17 of file CumulativeChiSquare.cc.

17 :
18 _nDof(ndf)
19{
20 create();
21}

◆ CumulativeChiSquare() [2/2]

Genfun::CumulativeChiSquare::CumulativeChiSquare ( const CumulativeChiSquare right)

Definition at line 27 of file CumulativeChiSquare.cc.

27 :
28AbsFunction(right),
29_nDof(right._nDof)
30{
31 create();
32}

◆ ~CumulativeChiSquare()

Genfun::CumulativeChiSquare::~CumulativeChiSquare ( )
virtual

Definition at line 23 of file CumulativeChiSquare.cc.

23 {
24 delete _function;
25}

Member Function Documentation

◆ nDof()

unsigned int Genfun::CumulativeChiSquare::nDof ( ) const

Definition at line 38 of file CumulativeChiSquare.cc.

38 {
39 return _nDof;
40}

◆ operator()() [1/2]

virtual double Genfun::CumulativeChiSquare::operator() ( const Argument a) const
inlineoverridevirtual

Implements Genfun::AbsFunction.

Definition at line 36 of file CumulativeChiSquare.hh.

36{return operator() (a[0]);}
virtual double operator()(double argument) const override

◆ operator()() [2/2]

double Genfun::CumulativeChiSquare::operator() ( double  argument) const
overridevirtual

Implements Genfun::AbsFunction.

Definition at line 34 of file CumulativeChiSquare.cc.

34 {
35 return (*_function)(x);
36}

Referenced by operator()().


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