Re: [pure-lang-users] math.pure
Status: Beta
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2008-06-28 19:13:21
|
Albert Graef wrote: > Well, if you're subscribed to the svn logs, then you might have noticed > that I just checked in my own math.pure. BTW, that's basically the same stuff as in math.q, with some things added that are built-in in Q, and making use of POSIX C math routines where possible. (Some of these have special cases where the result becomes complex; I'll deal with those after I added the complex type.) My idea for the complex type is to provide both rectangular (x+:y) and polar (r<:a) representations, with all the necessary machinery to make the arithmetic and other functions work with either, as well as explicit conversions between the two. Does that sound useful? I really like that feature on my HP calc. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |