| 
            Last change
 on this file since 1074 was             717, checked in by ansari, 26 years ago           | 
        
        
          | 
             
Introduction FFTMayer, debug de FFTPack - Reza 5/2/2000 
 
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #ifndef  FFTMServer_H_SEEN
 | 
|---|
| 2 | #define  FFTMServer_H_SEEN
 | 
|---|
| 3 | 
 | 
|---|
| 4 | #include "fftservintf.h"
 | 
|---|
| 5 | 
 | 
|---|
| 6 | // implementation de FFTServerInterface en utilisant FFTPack 
 | 
|---|
| 7 | 
 | 
|---|
| 8 | namespace SOPHYA {
 | 
|---|
| 9 | 
 | 
|---|
| 10 | class FFTMayerServer : public FFTServerInterface {
 | 
|---|
| 11 |  public:
 | 
|---|
| 12 |   FFTMayerServer();
 | 
|---|
| 13 |   virtual ~FFTMayerServer();
 | 
|---|
| 14 | 
 | 
|---|
| 15 |   // Implementation de l'interface FFTServerInterface
 | 
|---|
| 16 | 
 | 
|---|
| 17 |   virtual FFTServerInterface * Clone();
 | 
|---|
| 18 | 
 | 
|---|
| 19 |   // Transforme unidimensionnel sur des doubles
 | 
|---|
| 20 |   virtual void FFTForward(TVector< complex<r_8> > const & in, TVector< complex<r_8> > & out);
 | 
|---|
| 21 |   virtual void FFTBackward(TVector< complex<r_8> > const & in, TVector< complex<r_8> > & out);
 | 
|---|
| 22 |   virtual void FFTForward(TVector< r_8 > const & in, TVector< complex<r_8> > & out);
 | 
|---|
| 23 |   virtual void FFTBackward(TVector< complex<r_8> > const & in, TVector< r_8 > & out);
 | 
|---|
| 24 | 
 | 
|---|
| 25 | 
 | 
|---|
| 26 |   // Transforme unidimensionnel sur des float
 | 
|---|
| 27 |   virtual void FFTForward(TVector< complex<r_4> > const & in, TVector< complex<r_4> > & out);
 | 
|---|
| 28 |   virtual void FFTBackward(TVector< complex<r_4> > const & in, TVector< complex<r_4> > & out);
 | 
|---|
| 29 |   virtual void FFTForward(TVector< r_4 > const & in, TVector< complex<r_4> > & out);
 | 
|---|
| 30 |   virtual void FFTBackward(TVector< complex<r_4> > const & in, TVector< r_4 > & out);
 | 
|---|
| 31 | 
 | 
|---|
| 32 | 
 | 
|---|
| 33 | protected:
 | 
|---|
| 34 |   virtual bool checkLength(int n);
 | 
|---|
| 35 | };
 | 
|---|
| 36 | 
 | 
|---|
| 37 | } // Fin du namespace
 | 
|---|
| 38 | 
 | 
|---|
| 39 | 
 | 
|---|
| 40 | 
 | 
|---|
| 41 | 
 | 
|---|
| 42 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.