CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
GenericFunctions
GenericFunctions/AssociatedLaguerre.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: AssociatedLaguerre.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3
//---------------------AssociatedLaguerre-----------------------------------//
4
// //
5
// Class AssociatedLaguerre. An associated laguerre polynomial L_n^k(x) //
6
// Joe Boudreau, Petar Maksimovic, November 1999 //
7
// //
8
// //
9
// Different definitions exist. These are taken from Arfken, Mathematical //
10
// Methods for physicists //
11
// //
12
//--------------------------------------------------------------------------//
13
#ifndef AssociatedLaguerre_h
14
#define AssociatedLaguerre_h 1
15
#include "
CLHEP/GenericFunctions/AbsFunction.hh
"
16
17
namespace
Genfun {
18
23
class
AssociatedLaguerre :
public
AbsFunction {
24
25
FUNCTION_OBJECT_DEF
(
AssociatedLaguerre
)
26
27
public:
28
29
// Constructor
30
AssociatedLaguerre
(
unsigned
int
n
,
unsigned
int
k
);
31
32
// Copy constructor
33
AssociatedLaguerre
(const
AssociatedLaguerre
&right);
34
35
// Destructor
36
virtual ~
AssociatedLaguerre
();
37
38
// Retreive function value
39
40
virtual
double
operator ()(
double
argument) const;
41
virtual
double
operator ()(const
Argument
&
a
)
const
{
return
operator()
(a[0]);}
42
43
// Get the integer variable n
44
unsigned
int
n
()
const
;
45
46
// Get the integer variable k
47
unsigned
int
k
()
const
;
48
49
private
:
50
51
// It is illegal to assign an adjustable constant
52
const
AssociatedLaguerre
& operator=(
const
AssociatedLaguerre
&right);
53
54
// Here is the decay constant
55
unsigned
int
_n;
56
57
// Here is the sigma
58
unsigned
int
_k;
59
60
// Here is the "work function"
61
const
AbsFunction
*_function;
62
63
// This function is needed in all constructors:
64
void
create();
65
};
66
67
}
// namespace Genfun
68
69
70
71
#endif
72
73
Generated on Mon May 6 2013 04:04:10 for CLHEP by
1.8.1.2