| Last change
 on this file since 532 was             394, checked in by ansari, 26 years ago | 
        
          | 
Integration detecteur d'etoiles DY
 | 
        
          | File size:
            504 bytes | 
      
      
| Rev | Line |  | 
|---|
| [394] | 1 | #ifndef TRANSFELEC_SEEN | 
|---|
|  | 2 | #define TRANSFELEC_SEEN | 
|---|
|  | 3 |  | 
|---|
|  | 4 | //#include <math.h> | 
|---|
|  | 5 |  | 
|---|
|  | 6 | #ifdef __MWERKS__ | 
|---|
|  | 7 | #include <complex.h> | 
|---|
|  | 8 | #else | 
|---|
|  | 9 | #include <complex> | 
|---|
|  | 10 | #endif | 
|---|
|  | 11 |  | 
|---|
|  | 12 |  | 
|---|
|  | 13 | typedef complex<double> Dcomplex; | 
|---|
|  | 14 |  | 
|---|
|  | 15 |  | 
|---|
|  | 16 | class TransFuncElec{ | 
|---|
|  | 17 | public: | 
|---|
|  | 18 | TransFuncElec() { | 
|---|
|  | 19 | Dcomplex Imag((double)0.,(double)1.); | 
|---|
|  | 20 | jImagPur=Imag; | 
|---|
|  | 21 | } | 
|---|
|  | 22 | ~TransFuncElec(){ } | 
|---|
|  | 23 | Dcomplex TsFunc(double Omega); | 
|---|
|  | 24 | // Omega en radian/s | 
|---|
|  | 25 | private: | 
|---|
|  | 26 | Dcomplex H1(double w); | 
|---|
|  | 27 | Dcomplex H2(double w); | 
|---|
|  | 28 | Dcomplex H3(double w); | 
|---|
|  | 29 | Dcomplex H4(double w); | 
|---|
|  | 30 | Dcomplex jImagPur; | 
|---|
|  | 31 | }; | 
|---|
|  | 32 |  | 
|---|
|  | 33 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.