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

#include <X.hh>

+ Inheritance diagram for Genfun::X_:

Public Member Functions

 X_ ()
 
 X_ (const X_ &right)
 
virtual ~X_ ()
 
virtual double operator() (double argument) const override
 
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 X.hh.

Constructor & Destructor Documentation

◆ X_() [1/2]

Genfun::X_::X_ ( )

Definition at line 8 of file X.cc.

9{}

◆ X_() [2/2]

Genfun::X_::X_ ( const X_ right)

Definition at line 11 of file X.cc.

11 : AbsFunction(right)
12{
13}

◆ ~X_()

Genfun::X_::~X_ ( )
virtual

Definition at line 15 of file X.cc.

15 {
16}

Member Function Documentation

◆ operator()() [1/2]

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

Implements Genfun::AbsFunction.

Definition at line 36 of file X.hh.

36{return operator() (a[0]);}
virtual double operator()(double argument) const override
Definition: X.cc:18

◆ operator()() [2/2]

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

Implements Genfun::AbsFunction.

Definition at line 18 of file X.cc.

18 {
19 return x;
20}

Referenced by operator()().


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