🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.math.num-analysis
Article #111

Imaginary Numbers in C

#111
From: K3006E7
Date: Sun, 26 Jul 1992 22:41
9 lines
955 bytes
I am very unfamiliar with the C language, so I beg your indulgence.
I normally work with math packages such as "MATLAB", but because of
its relatively slow speed on some routine loops, I thought it would
be good to write them in C.  But I found out that unlike Fortran, C
does not, as far as I could see, data type for imaginary numbers.
Or am I completely wrong?  Would I have to work with "structures"
and redefine most operations such as *,+,-, etc. to work with these
structures?
Help would greatly be appreciated!
Technical Details
Message-ID: <92208.174123K3006E7@ALIJKU11.BITNET>
Path: arc1-ca.pugleaf.net!sparky!uunet!zephyr.ens.tek.com!uw-beaver!micro-heart-of-gold.mit.edu!news.bbn.com!usc!sdd.hp.com!mips!darwin.sura.net!paladin.american.edu!auvm!alijku11!k3006e7

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zephyr.ens.tek.com!uw-beaver!micro-heart-of-gold.mit.edu!news.bbn.com!usc!sdd.hp.com!mips!darwin.sura.net!paladin.american.edu!auvm!alijku11!k3006e7
From: K3006E7@ALIJKU11.BITNET
Newsgroups: sci.math.num-analysis
Subject: Imaginary Numbers in C
Message-ID: <92208.174123K3006E7@ALIJKU11.BITNET>
Date: 26 Jul 92 22:41:23 GMT
Organization: Johannes Kepler University Linz - Computing Center
Lines: 9