The rule to remember is, Every element of a partition
has the same rank as the original noun.

So, every element of a partition of a table is a table.
Possibly 1 (or 0) rows, but still a table.

Henry Rich 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Don Guinn
> Sent: Sunday, October 19, 2008 8:58 AM
> To: Programming forum
> Subject: [Jprogramming] Cut Question
> 
> Playing with J for C and got to "Apply On Specified 
> Partitions: Dyad u;.1
> and u;.2". Replaced the < with +/ and it didn't sum the rows. 
> After looking
> at the result a little more closely I discovered that each 
> cell contained a
> table instead of a row.
>    (0 1 1;1 0 0 1) <;.1 i. 3 4
> +------+--+
> |4 5 6 |7 |
> +------+--+
> |8 9 10|11|
> +------+--+
>    (0 1 1;1 0 0 1) (<@$);.1 i. 3 4
> +---+---+
> |1 3|1 1|
> +---+---+
> |1 3|1 1|
> +---+---+
> 
> I can't figure out why.
> 
> Also, in the Dictionary for Cut it describes the rank as "_ 
> 1/2 _". What
> does the "1/2" mean? Needless to say, I still have a long way 
> go to fully
> understand Cut.
> ----------------------------------------------------------------------
> 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