load'plot'
   plot ((2&o.@*:t.i.100)&p.d._1;(1&o.@*:t.i.100)&p.d._1) 1p1*i:1j1000

This has two domain error workarounds which might interest people.

First, i:1p1j1000 does not work, but 1p1*i:1j1000 does. In other
words, i: has a gaussian integer domain (perhaps because that is
simpler to document) even though it might make sense to allow the real
part to be non-intger when the complex part is non-zero.

Second, expressions such as 1&o.@*:d._1 do not work, but
(1&o.@*:t.i.100)&p.d._1 does. In other words taylor series polynomials
can sometimes be a workaround for d. domain issues.

(Finally, note that plot ;/|:+.(^@j.@*:t.i.100)&p.d._1] 1p1*i:1j1000
gives a similar plot, but that transform is quirky for me to explain.)

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to