The Gaudi Framework
v26r0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Constant.cpp
Go to the documentation of this file.
1
// $Id: Constant.cpp,v 1.1 2003/11/19 16:55:59 mato Exp $
2
// ============================================================================
3
// Include files
4
// local
5
#include "
GaudiMath/Constant.h
"
6
14
namespace
Genfun
15
{
16
namespace
GaudiMathImplementation
17
{
18
// ========================================================================
20
// ========================================================================
21
FUNCTION_OBJECT_IMP(
Constant
)
22
// ========================================================================
23
24
// ========================================================================
29
// ========================================================================
30
Constant
::
Constant
31
( const
double
value
,
32
const
size_t
dim )
33
: AbsFunction ()
34
, m_value ( value )
35
, m_DIM ( dim )
36
{}
37
// ========================================================================
38
39
// ========================================================================
41
// ========================================================================
42
Constant::Constant
43
(
const
Constant
& right )
44
: AbsFunction()
45
, m_value ( right.
m_value
)
46
, m_DIM ( right.
m_DIM
)
47
{}
48
// ========================================================================
49
50
// ========================================================================
52
// ========================================================================
53
Constant::~Constant
(){}
54
// ========================================================================
55
56
// ========================================================================
58
// ========================================================================
59
Derivative
Constant::partial
(
unsigned
int
/* index */
)
const
60
{
61
const
AbsFunction& aux =
Constant
( 0.0 ,
m_DIM
);
62
return
FunctionNoop( &aux );
63
}
64
// ========================================================================
65
66
67
}
// end of namespace GaudiMathImplementation
68
69
}
// end of namespace Genfun (due to CLHEP)
70
71
// ============================================================================
72
// The END
73
// ============================================================================
Genfun::GaudiMathImplementation::Constant::~Constant
virtual ~Constant()
destructor
Definition:
Constant.cpp:53
Genfun::GaudiMathImplementation::Constant
Fixed constant function.
Definition:
Constant.h:25
Genfun::GaudiMathImplementation::Constant::Constant
Constant()
GaudiMath::Derivative
Genfun::GaudiMathImplementation::NumericalDerivative Derivative
Definition:
GaudiMath.h:31
Genfun::GaudiMathImplementation::Constant::m_DIM
size_t m_DIM
Definition:
Constant.h:70
Genfun::GaudiMathImplementation::Constant::partial
virtual Derivative partial(unsigned int i) const
Derivatives.
Definition:
Constant.cpp:59
dump_component_properties.value
list value
Definition:
dump_component_properties.py:12
Genfun::GaudiMathImplementation::Constant::m_value
double m_value
Definition:
Constant.h:69
Constant.h
GaudiMath::Constant
Genfun::GaudiMathImplementation::Constant Constant
Definition:
GaudiMath.h:29
GaudiGSL
src
Lib
Constant.cpp
Generated on Tue Jan 20 2015 20:27:19 for The Gaudi Framework by
1.8.7