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

Reply via email to