CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

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 
7 
8  public:
9 
10 
11  // Constructor:
12  LegendreCoefficientSet(unsigned int LMAX);
13 
14  // Copy Constructor:
16 
17  // Destructor:
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 
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 
unsigned int getLMax() const
const std::complex< double > & operator()(unsigned int l) const
LegendreCoefficientSet & operator=(const LegendreCoefficientSet &)
std::ostream & operator<<(std::ostream &os, const Argument &a)
LegendreCoefficientSet(unsigned int LMAX)