Bo Jacoby <[email protected]> wrote: > One benefit of using complex numbers is that you may forget about > trigonometry. > load'plot' > circle=._1^n=.(%~i:)60 > ellipse=.(circle*-.a)+(+circle)*a=.0.8 > hyperbola=.-:((+%)j.(-%))^n > plot circle,ellipse,:hyperbola
Thanks, Bo; that's what I was thinking of when I asked. The trig functions tend to be way overused; they mask interesting patterns in the numbers. Skip them and you can often keep everything rational (well, until you convert into J's complex type, which only allows floats). I definitely don't understand what Kip means when he says y=1/x is not a hyperbola. It is -- it's the second order polynomial xy=0. The asymptotes happen to be the axes, but that's exactly what rotation solves. -Wm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
