Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:54:35

0001 #ifndef _LEGENDRECOEFFICIENTSET_H_
0002 #define _LEGENDRECOEFFICIENTSET_H_
0003 #include <complex>
0004 namespace Genfun {
0005 
0006   class LegendreCoefficientSet {
0007     
0008   public:
0009     
0010     
0011     // Constructor:
0012     LegendreCoefficientSet(unsigned int LMAX);
0013     
0014     // Copy Constructor:
0015     LegendreCoefficientSet(const LegendreCoefficientSet &);
0016     
0017     // Destructor:
0018     ~LegendreCoefficientSet();
0019     
0020     
0021     // Get the size of the set:
0022     unsigned int getLMax() const;
0023     
0024     // Readonly access to a specific coefficient:
0025     const std::complex<double> & operator () (unsigned int l) const;
0026     
0027     // Read/write access to a specific coefficient:
0028     std::complex<double> & operator () (unsigned int l);
0029     
0030     LegendreCoefficientSet & operator= (const LegendreCoefficientSet & );
0031 
0032   private:
0033     
0034     
0035     class Clockwork;
0036     Clockwork *c;
0037     
0038     
0039   };
0040   
0041   std::ostream & operator<< ( std::ostream & o, const LegendreCoefficientSet & c); 
0042 }
0043 
0044 #include "CLHEP/GenericFunctions/LegendreCoefficientSet.icc"
0045 
0046 #endif
0047 
0048