00001 00030 #ifndef INC_MI32_COMPLEX_H 00031 #define INC_MI32_COMPLEX_H 00032 00033 #ifndef INC_MI32_STDDEFNS_H 00034 #include <mi32/stddefns.h> 00035 #endif 00036 00037 //---------------------------------------------------------------------------- 00039 //---------------------------------------------------------------------------- 00040 00041 #define COMPLEXCOMP_Magnitude 0 00042 #define COMPLEXCOMP_Phase 1 00043 #define COMPLEXCOMP_Real 2 00044 #define COMPLEXCOMP_Imaginary 3 00045 00046 //---------------------------------------------------------------------------- 00048 //---------------------------------------------------------------------------- 00049 00050 struct FCOMPLEXRI { FLOAT r, i; }; 00051 00052 //---------------------------------------------------------------------------- 00054 //---------------------------------------------------------------------------- 00055 00056 struct DCOMPLEXRI { DOUBLE r, i; }; 00057 00058 //---------------------------------------------------------------------------- 00060 //---------------------------------------------------------------------------- 00061 00062 struct FCOMPLEXMP { FLOAT m, p; }; 00063 00064 //---------------------------------------------------------------------------- 00066 //---------------------------------------------------------------------------- 00067 00068 struct DCOMPLEXMP { DOUBLE m, p; }; 00069 00070 #endif
1.6.1