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

#include <F1D.hh>

+ Inheritance diagram for Genfun::F1D:

Public Member Functions

 F1D (FcnPtr fcn)
 
virtual ~F1D ()
 
 F1D (const F1D &right)
 
virtual double operator() (double x) const
 
virtual double operator() (const Argument &a) const override
 
- 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 F1D.hh.

Constructor & Destructor Documentation

◆ F1D() [1/2]

Genfun::F1D::F1D ( FcnPtr  fcn)
inline

Definition at line 28 of file F1D.hh.

28:p(fcn){};

◆ ~F1D()

virtual Genfun::F1D::~F1D ( )
inlinevirtual

Definition at line 31 of file F1D.hh.

31{};

◆ F1D() [2/2]

Genfun::F1D::F1D ( const F1D right)
inline

Definition at line 34 of file F1D.hh.

34:AbsFunction(),p(right.p){};

Member Function Documentation

◆ operator()() [1/2]

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

Implements Genfun::AbsFunction.

Definition at line 41 of file F1D.hh.

41{return operator() (a[0]);}
virtual double operator()(double x) const
Definition: F1D.hh:37

◆ operator()() [2/2]

virtual double Genfun::F1D::operator() ( double  x) const
inlinevirtual

Implements Genfun::AbsFunction.

Definition at line 37 of file F1D.hh.

37 {
38 return (*p)(x);
39 }

Referenced by operator()().


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