[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] numbers egg - (angle y) feedback
From: |
Terrence Brannon |
Subject: |
[Chicken-users] numbers egg - (angle y) feedback |
Date: |
Thu, 11 Oct 2007 18:23:50 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I tried to re-open the ticket on trac, but was told my submission was potential
spam.
The (angle) function does not coredump. But it gives a result of 0.0 for an
argument of 2, which I do not think is correct. The same function in J gives
-0.416147+0.909297i
Here is a link to the J function, whose name is "r." ... that's right... "r"
"dot"
http://www.jsoftware.com/help/dictionary/drdot.htm
The thing is, most J functions have a monadic and dyadic case. The monadic case
is relevant in this case and has this description: "The result of r. y is a
complex number of magnitude 1, whose real and imaginary parts are coordinates
of the point on the unit circle at an angle of y radians."
- [Chicken-users] numbers egg - (angle y) feedback,
Terrence Brannon <=