Gaudi Framework, version v25r0
Home
Generated: Mon Feb 17 2014
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
GaudiGSL
src
Lib
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
// ============================================================================
Generated at Mon Feb 17 2014 14:37:41 for Gaudi Framework, version v25r0 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004