< 1 2 +/ i. 4
--------┐
│1 2 3 4│
│2 3 4 5│
L--------
   
   
   
   < 1 2 +/ i. 4
--------┐
│1 2 3 4│
│2 3 4 5│
L--------
   
   $1 2
2
   NB.  Left argument has two items which is the number of rows
   
   $i.4
4
   NB.  Right argument determines the number of columns
   
   $8 2 9 4 -/ 3 5 2 9 7
   $8 2 9 4 -/ 3 5 2 9 7
4 5
   $<8 2 9 4 -/ 3 5 2 9 7
   
   NB.The boxed table has shape empty.  Compare it with a single item 
   
   $6
NB.  Let us know when you get to the next snag.  I finally learnedNB   
NB.  Let us know when you get to the next snag.  I finally learned to   
NB.  just to ask a question than to anguish too long about it.   


Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Wright
Sent: Thursday, September 25, 2014 3:10 AM
To: [email protected]
Subject: Re: [Jprogramming] Predicting the shape of the result

ah. dumb of me. lesson learnt.

so now the question is could one predict 2 2 for the shape of the answer ?
as opposed to say 14

thanks again!
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to