00001 // $Header: /home/cvsuser/cvsroot/JSOC/proj/globalhs/libs/pkbgn/complex.h,v 1.2 2013/04/28 08:54:28 tplarson Exp $ 00002 #ifndef _GHS_COMPLEX_H 00003 #define _GHS_COMPLEX_H 1 00004 00005 typedef struct FCOMPLEX {float r,i;} fcomplex; 00006 00007 extern fcomplex Cadd(); 00008 extern fcomplex Csub(); 00009 extern fcomplex Cmul(); 00010 extern fcomplex Complex(); 00011 extern fcomplex Conjg(); 00012 extern fcomplex Cdiv(); 00013 extern float Cabs(); 00014 extern fcomplex Csqrt(); 00015 extern fcomplex RCmul(); 00016 00017 #endif