CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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
17namespace Genfun {
18
19 /**
20 * @author
21 * @ingroup genfun
22 */
24
26
27 public:
28
29 // Constructor
30 AssociatedLaguerre(unsigned int n, unsigned int k);
31
32 // Copy constructor
34
35 // Destructor
36 virtual ~AssociatedLaguerre();
37
38 // Retreive function value
39
40 virtual double operator ()(double argument) const override;
41 virtual double operator ()(const Argument & a) const override {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
#define FUNCTION_OBJECT_DEF(classname)
Definition: AbsFunction.hh:143
virtual double operator()(double argument) const override
Definition: Abs.hh:14