3!:3]99j1 e1000000 10000000 01000000 00000000 00000000 00c05840 00000000 0000f03f
J still treats a complex number as a zero rank array. 3!:3]99r2 e1000000 80000000 01000000 00000000 18000000 30000000 e1000000 04000000 01000000 01000000 01000000 63000000 e1000000 04000000 01000000 01000000 01000000 02000000 Same for rationals. On Tue, Oct 26, 2010 at 8:50 AM, Raul Miller <[email protected]> wrote: > On Mon, Oct 25, 2010 at 9:34 PM, Donna Y <[email protected]> wrote: > > An array can have one element but it is not a scalar number. > > If it is an array it has not only magnitude but also direction. > > > > A scalar number by definition scales - it has magnitude - it > > is not a vector or an array. It has rank 0. > > I did not follow all of what you wrote, but consider: > > scalar: 1j2 (has magnitude and direction, and is an array) > array: i.0 1 2 3 4 (has no magnitudes and no directions, but still is an > array) > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
