Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!prism!mailer.cc.fsu.edu!evax0.eng.fsu.edu!wjbrown From: wjbrown@evax0.eng.fsu.edu (WILLIAM J. BROWN) Newsgroups: comp.lang.c Subject: complex data manipulation Message-ID: <1991May29.211117.29303@mailer.cc.fsu.edu> Date: 29 May 91 20:57:33 GMT Sender: news@mailer.cc.fsu.edu (Usenet News File Owner) Reply-To: wjbrown@evax0.eng.fsu.edu Organization: Florida State University Computing Center Lines: 12 News-Software: VAX/VMS VNEWS 1.3-4 Nntp-Posting-Host: evax0.eng.fsu.edu I'm writing a program in C (of course) which requires the inversion of a rather large matrix. This by itself is no problem except that some of the elements in the array are complex. Is there an easy way to handle complex data in C? I have a book titled *C TOOLS for Scientists and Engineers* where the author uses the header file #include and uses functions such as CADD(),CSUB(),CMULT() etc. for complex arithmetic. I have several books on C including The Waite Group's *C Primer Plus* and Schaum's *Programming in C* neither of which make any mention of any of these header files or functions. Has anyone out there written a program that would invert a complex matrix? Any help would be greatly appreciated. William Brown