The Gaudi Framework
v27r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Constant.cpp
Go to the documentation of this file.
1
// ============================================================================
2
// Include files
3
// local
4
#include "
GaudiMath/Constant.h
"
5
13
namespace
Genfun
14
{
15
namespace
GaudiMathImplementation
16
{
17
// ========================================================================
19
// ========================================================================
20
FUNCTION_OBJECT_IMP(
Constant
)
21
// ========================================================================
22
23
// ========================================================================
28
// ========================================================================
29
Constant
::
Constant
30
( const
double
value
,
31
const
size_t
dim )
32
: AbsFunction ()
33
, m_value ( value )
34
, m_DIM ( dim )
35
{}
36
// ========================================================================
37
38
// ========================================================================
40
// ========================================================================
41
Constant::Constant
42
(
const
Constant
& right )
43
: AbsFunction()
44
, m_value ( right.
m_value
)
45
, m_DIM ( right.
m_DIM
)
46
{}
47
// ========================================================================
48
49
// ========================================================================
51
// ========================================================================
52
Constant::~Constant
(){}
53
// ========================================================================
54
55
// ========================================================================
57
// ========================================================================
58
Derivative
Constant::partial
(
unsigned
int
/* index */
)
const
59
{
60
const
AbsFunction& aux =
Constant
( 0.0 ,
m_DIM
);
61
return
FunctionNoop( &aux );
62
}
63
// ========================================================================
64
65
66
}
// end of namespace GaudiMathImplementation
67
68
}
// end of namespace Genfun (due to CLHEP)
69
70
// ============================================================================
71
// The END
72
// ============================================================================
Genfun::GaudiMathImplementation::Constant::~Constant
virtual ~Constant()
destructor
Definition:
Constant.cpp:52
Genfun::GaudiMathImplementation::Constant
Fixed constant function.
Definition:
Constant.h:23
Genfun::GaudiMathImplementation::Constant::Constant
Constant()
GaudiMath::Derivative
Genfun::GaudiMathImplementation::NumericalDerivative Derivative
Definition:
GaudiMath.h:29
Genfun::GaudiMathImplementation::Constant::m_DIM
size_t m_DIM
Definition:
Constant.h:68
Genfun::GaudiMathImplementation::Constant::partial
virtual Derivative partial(unsigned int i) const
Derivatives.
Definition:
Constant.cpp:58
dump_component_properties.value
list value
Definition:
dump_component_properties.py:12
Genfun::GaudiMathImplementation::Constant::m_value
double m_value
Definition:
Constant.h:67
Constant.h
Genfun
CLHEP.
Definition:
IEqSolver.h:13
GaudiMath::Constant
Genfun::GaudiMathImplementation::Constant Constant
Definition:
GaudiMath.h:27
GaudiGSL
src
Lib
Constant.cpp
Generated on Tue Mar 15 2016 17:04:15 for The Gaudi Framework by
1.8.9.1