On Tue, Apr 3, 2012 at 2:49 PM, Viktor Cerovski
<viktor.cerov...@gmail.com> wrote:
> I've counted 4 contradictions:
>  1) 1d empty array,

That's not a contradiction.  '' is an example of a 1d empty array.
i.0 is another example

>  2) empty array of numbers,

That would be an array which contains no numbers, yes?

Actually it probably means "An array with a numeric
type for atoms which has a zero in at least one of
its dimensions."

Since type and dimension are different, and since in
a homogeneous array the type is stored independent of
the array elements, I do not think that there are any
contradictions here.

>  3) 1d array with rank > 1

That is a contradiction.

>  4) empty array with rank > 1

That is not a contradiction.  i.0 0 is an example of
an empty array with rank greater than 1.  In fact there
are arbitrarily many such arrays.  rank > 1 means that
there are more than one non-negative integers to describe
its shape.  Empty means that at least one of those
integers is 0.

So this would be: an array which has multiple dimensions
at least one of which is 0.

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

Reply via email to