On Fri, Oct 8, 2010 at 11:22 PM, Dan Bron <j...@bron.us> wrote: > 0 = {:@+. is the obvious test. I'm sure there are more efficient methods > leveragng complex arithmetic. > > Note this is one of the phrases where the difference btwn @ and @: is > relevant, and the former is what we want, as opposed to the more common > latter.
For taking the imaginary part of numbers, I prefer the verb (11&o.) Ambrus ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm