--- Terrence Brannon <[EMAIL PROTECTED]> wrote:

> I'm wondering if data (e.g. i. 6) could be stored in an array of shape 2 0 3.
> 
> I have issues visualizing such a structure. 
> 
> More basic edge issues to be understood first:
> 
>     3 $ 1 2 3   
> versus
>   0 3 $ 1 2 3
> versus
>   1 3 $ 1 2 3
> 
> The issue is that 
>   0 3 $ 1 2 3
> apparently has no data while
>   3 $ 1 2 3
> and 
>  1 3 $ 1 2 3 
> do have data.
> 
> 
> But 3 $ 1 2 3 
> has zero magnitude in the 2nd dimension, no? So it would seem to be 
> equivalent 0 3 $ 1 2 3 but per the interpreter it is not.

It's not zero magnitude in higher dimension, it's _empty_ magnitude.
Same as scalar has empty dimention, but itself represents one 
data location. Shape 3 is not (0,3) it's ('',3).

> Is there a wiki link or some other help I can get on dealing with axes having 
> zero magnitude? It is a genuine brain-twister for me :)



       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to