|
Gaudi Framework, version v21r6 |
| Home | Generated: 11 Nov 2009 |
#include <GaudiMath/Constant.h>
Definition at line 25 of file Constant.h.
Public Member Functions | |
| FUNCTION_OBJECT_DEF (Constant) | |
| From CLHEP/GenericFunctions. | |
| Constant (const double value, const size_t dim) | |
| Standard constructor. | |
| Constant (const Constant &right) | |
| copy constructor | |
| virtual | ~Constant () |
| destructor | |
| virtual unsigned int | dimensionality () const |
| dimensionality of the problem | |
| virtual bool | hasAnalyticDerivative () const |
| Does this function have an analytic derivative? | |
| virtual double | operator() (double) const |
| Function value. | |
| virtual double | operator() (const Argument &) const |
| Function value. | |
| virtual Derivative | partial (unsigned int i) const |
| Derivatives. | |
Private Member Functions | |
| Constant () | |
| Constant & | operator= (const Constant &) |
Private Attributes | |
| double | m_value |
| size_t | m_DIM |
| Genfun::GaudiMathImplementation::Constant::Constant | ( | const double | value, | |
| const size_t | dim | |||
| ) |
Standard constructor.
| value | of the function | |
| dim | dimensionality | |
| value | of the function | |
| dim | dimensionality |
Definition at line 31 of file Constant.cpp.
| Genfun::GaudiMathImplementation::Constant::Constant | ( | const Constant & | right | ) |
| Genfun::GaudiMathImplementation::Constant::~Constant | ( | ) | [virtual] |
| Genfun::GaudiMathImplementation::Constant::Constant | ( | ) | [private] |
| Genfun::GaudiMathImplementation::Constant::FUNCTION_OBJECT_DEF | ( | Constant | ) |
From CLHEP/GenericFunctions.
| virtual unsigned int Genfun::GaudiMathImplementation::Constant::dimensionality | ( | ) | const [inline, virtual] |
| virtual bool Genfun::GaudiMathImplementation::Constant::hasAnalyticDerivative | ( | ) | const [inline, virtual] |
| virtual double Genfun::GaudiMathImplementation::Constant::operator() | ( | double | ) | const [inline, virtual] |
| virtual double Genfun::GaudiMathImplementation::Constant::operator() | ( | const Argument & | ) | const [inline, virtual] |
| Derivative Genfun::GaudiMathImplementation::Constant::partial | ( | unsigned int | i | ) | const [virtual] |
Derivatives.
Definition at line 59 of file Constant.cpp.
00060 { 00061 const AbsFunction& aux = Constant( 0.0 , m_DIM ); 00062 return FunctionNoop( &aux ); 00063 };
double Genfun::GaudiMathImplementation::Constant::m_value [private] |
Definition at line 69 of file Constant.h.
Definition at line 70 of file Constant.h.