/* * ------------------------------------------------------------------------- * convertcomplex.h -- header file for function to convert complex numbers * from (a + jb) to (r exp(j phi)) * * Written By : D. Mazzoni and M. Austin January 1994 * ------------------------------------------------------------------------- */ #ifndef _CONVERTCOMPLEX_H_ #define _CONVERTCOMPLEX_H_ #include /* declarations for the two forms of a complex numbers */ typedef struct complex { float fReal; float fImag; } COMPLEX; typedef struct euler { float fMagn; float fAngle; } EULER; /* declaration of the function to convert a complex number */ EULER complexToEuler ( COMPLEX cxOperand ); #endif