Genfun::GaudiMathImplementation::Constant Class Reference
Fixed constant function.
More...
#include <GaudiMath/Constant.h>
List of all members.
Detailed Description
Fixed constant function.
- Author:
- Vanya BELYAEV Ivan.Belyaev@itep.ru
- Date:
- 2003-08-31
Definition at line 25 of file Constant.h.
Constructor & Destructor Documentation
| Genfun::GaudiMathImplementation::Constant::Constant |
( |
const double |
value, |
|
|
const size_t |
dim | |
|
) |
| | |
From CLHEP/GenericFunctions.
from CLHGEP/GenericFunctions
Standard constructor
- Parameters:
-
| value | of the function |
| dim | dimensionality |
Definition at line 31 of file Constant.cpp.
00033 : AbsFunction ()
00034 , m_value ( value )
00035 , m_DIM ( dim )
00036 {}
| Genfun::GaudiMathImplementation::Constant::Constant |
( |
const Constant & |
right |
) |
|
| Genfun::GaudiMathImplementation::Constant::~Constant |
( |
|
) |
[virtual] |
| Genfun::GaudiMathImplementation::Constant::Constant |
( |
|
) |
[private] |
Member Function Documentation
| virtual unsigned int Genfun::GaudiMathImplementation::Constant::dimensionality |
( |
|
) |
const [inline, virtual] |
dimensionality of the problem
Definition at line 50 of file Constant.h.
| virtual bool Genfun::GaudiMathImplementation::Constant::hasAnalyticDerivative |
( |
|
) |
const [inline, virtual] |
Does this function have an analytic derivative?
Definition at line 52 of file Constant.h.
| virtual double Genfun::GaudiMathImplementation::Constant::operator() |
( |
const Argument & |
|
) |
const [inline, virtual] |
| virtual double Genfun::GaudiMathImplementation::Constant::operator() |
( |
double |
|
) |
const [inline, virtual] |
| Constant& Genfun::GaudiMathImplementation::Constant::operator= |
( |
const Constant & |
|
) |
[private] |
| 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 }
Member Data Documentation
The documentation for this class was generated from the following files:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiGSL/GaudiMath/Constant.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiGSL/src/Lib/Constant.cpp