|
Gaudi Framework, version v21r11 |
| Home | Generated: 30 Sep 2010 |
#include <GaudiMath/Constant.h>
Public Member Functions | |
| Constant (const double value, const size_t dim) | |
| From CLHEP/GenericFunctions. | |
| 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 |
Definition at line 25 of file Constant.h.
| Genfun::GaudiMathImplementation::Constant::Constant | ( | const double | value, | |
| const size_t | dim | |||
| ) |
From CLHEP/GenericFunctions.
from CLHGEP/GenericFunctions
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] |
| 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.
size_t Genfun::GaudiMathImplementation::Constant::m_DIM [private] |
Definition at line 70 of file Constant.h.