CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
CLHEP
GenericFunctions
CLHEP/GenericFunctions/LegendreCoefficientSet.hh
Go to the documentation of this file.
1
#ifndef _LEGENDRECOEFFICIENTSET_H_
2
#define _LEGENDRECOEFFICIENTSET_H_
3
#include <complex>
4
namespace
Genfun {
5
6
class
LegendreCoefficientSet
{
7
8
public
:
9
10
11
// Constructor:
12
LegendreCoefficientSet
(
unsigned
int
LMAX);
13
14
// Copy Constructor:
15
LegendreCoefficientSet
(
const
LegendreCoefficientSet
&);
16
17
// Destructor:
18
~LegendreCoefficientSet
();
19
20
21
// Get the size of the set:
22
unsigned
int
getLMax
()
const
;
23
24
// Readonly access to a specific coefficient:
25
const
std::complex<double> &
operator ()
(
unsigned
int
l)
const
;
26
27
// Read/write access to a specific coefficient:
28
std::complex<double> &
operator ()
(
unsigned
int
l);
29
30
LegendreCoefficientSet
&
operator=
(
const
LegendreCoefficientSet
& );
31
32
private
:
33
34
35
class
Clockwork;
36
Clockwork *c;
37
38
39
};
40
41
std::ostream &
operator<<
( std::ostream & o,
const
LegendreCoefficientSet
& c);
42
}
43
44
#include "CLHEP/GenericFunctions/LegendreCoefficientSet.icc"
45
46
#endif
47
48
Generated on Mon May 6 2013 04:04:10 for CLHEP by
1.8.1.2