On Wed, Aug 13, 2008 at 2:01 PM, Eldon Eller <[EMAIL PROTECTED]> wrote:
> Thank you, Dominic. I assumed that was what you intended. I am surprised
> that *:j.i.5 is complex, since it is purely real. It prints as real: 0 _1 _4
> _9 _16 instead of 0j0 _1j0 _4J0 _9j0 _16j0. J, like life, is mysterious.
For the most part, J concerns itself with arithmetic properties, and
not the inner details of the way numbers are represented.
However, for whatever reason, plot uses 3!:0 to determine what it
should be doing (rather than letting the user control this, and rather
than using an expression like *./,0={:+.y)
Of course using plot&([EMAIL PROTECTED] ::]L: 0) works around this problem.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm