You got the simple append (as without /) because 
Append (,) is rank _

   , b. 0
_ _ _

So the cells are the whole i.3 arrays and
they get appended rather than their atoms.
Instead,

   append0=: ,"0    NB. rank 0
   
   (i.3) append0/ i.3
0 0
0 1
0 2

1 0
1 1
1 2

2 0
2 1
2 2



--- "Brouwer, Roelof <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote:

> One of these produce the Cartesian product and I still don't know   why
> my expression is not defined to produce it.
> 
> cheers
>  
> Roelof
>  
>  
> Roelof K. Brouwer PhD PEng
> Temporary while visiting
> Department of Mechanical Engineering
> Stellenbosch University
> PO Box X1
> Matieland
> 7602
> South Africa
>  
> land line 27 (0) 21 808 3606
> cell   27 (0) 73 973 1858 
> skype roelofbrouwer
> email [EMAIL PROTECTED]
> www.tru.ca/advtech/compsci/faculty/rbrouwer
>  
> Permanent Contact information
> Professor
> Department of Computing Science
> School of Advanced Technologies and Mathematics
> Thompson Rivers University
> 900 McGill Road, PO Box 3010
> Kamloops, BC, Canada,V2C 5N3
>  
>  
> telephone numbers
> 1-250 828 5219 work
> 1-250-374-5874 home
> 1-250-377-6133 fax
> home page www.tru.ca/advtech/compsci/faculty/rbrouwer
> email [EMAIL PROTECTED]
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Jasmin
> Sent: September 22, 2006 5:30 PM
> To: General forum
> Subject: Re: [Jgeneral] I expect a table of ordered pairs for this
> 
>    i.3
> 0 1 2
>    (0 1 2) , (0 1 2)
> 0 1 2 0 1 2
>    (0 1 2) ,"0 (0 1 2)
> 0 0
> 1 1
> 2 2
>    (0 1 2) ,"0 1 (0 1 2)
> 0 0 1 2
> 1 0 1 2
> 2 0 1 2
>    (,. 0 1 2) , (,. 0 1 2)
> 0
> 1
> 2
> 0
> 1
> 2
>    (,. 0 1 2) ,"1 (,. 0 1 2)
> 0 0
> 1 1
> 2 2
>    (,. 0 1 2) ,. (0 1 2)
> 0 0
> 1 1
> 2 2
>    ( 0 1 2) ,. (0 1 2)
> 0 0
> 1 1
> 2 2
> 
> 
> --- "Roelof K. Brouwer" <[EMAIL PROTECTED]> wrote:
> 
> > (i.3),/i.3 in J produces
> > 
> >  
> > 
> > 0 1 2 0 1 2
> > 
> > How do you explain this
> > 
> > cheers
> > 
> >  
> > 
> > Roelof
> > 
> >  
> > 
> >  
> > 
> > Roelof K. Brouwer PhD PEng
> > 
> > Temporary while visiting
> > 
> > Department of Mechanical Engineering
> > 
> > Stellenbosch University
> > 
> > PO Box X1
> > 
> > Matieland
> > 
> > 7602
> > 
> > South Africa
> > 
> >  
> > 
> > land line 27 (0) 21 808 3606
> > 
> > cell   27 (0) 73 973 1858 
> > 
> > skype roelofbrouwer
> > 
> > email [EMAIL PROTECTED]
> > 
> > www.tru.ca/advtech/compsci/faculty/rbrouwer
> > 
> >  
> > 
> > Permanent Contact information
> > 
> > Professor
> > 
> > Department of Computing Science
> > 
> > School of Advanced Technologies and Mathematics
> > 
> > Thompson Rivers University
> > 
> > 900 McGill Road, PO Box 3010
> > 
> > Kamloops, BC, Canada,V2C 5N3
> > 
> >  
> > 
> >  
> > 
> > telephone numbers
> > 
> > 1-250 828 5219 work
> > 
> > 1-250-374-5874 home
> > 
> > 1-250-377-6133 fax
> > 
> > home page
> > www.tru.ca/advtech/compsci/faculty/rbrouwer
> > 
> > email [EMAIL PROTECTED]
> > 
> >  
> > 
> >
> ----------------------------------------------------------------------
> > For information about J forums see
> > http://www.jsoftware.com/forums.htm
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to