I think for catalog to do anything interesting, you need to provide it with
boxed arguments.

So,
   { i.3
+-----+
|0 1 2|
+-----+

But

   { (i.3);i. 2
+---+---+
|0 0|0 1|
+---+---+
|1 0|1 1|
+---+---+
|2 0|2 1|
+---+---+

It's providing all combinations of the items in boxes but, if there is no
enclosure, it simply boxes the unenclosed argument, perhaps as the
degenerate case.


On Sun, Jul 22, 2018 at 2:07 PM Don Guinn <[email protected]> wrote:

> I stumbled onto this by accident, but I can't find it documented anywhere.
>
> {i.3 4 5
>
> ┌──────────────┬──────────────┬──────────────┬──────────────┐
>
> │0 1 2 3 4 │5 6 7 8 9 │10 11 12 13 14│15 16 17 18 19│
>
> ├──────────────┼──────────────┼──────────────┼──────────────┤
>
> │20 21 22 23 24│25 26 27 28 29│30 31 32 33 34│35 36 37 38 39│
>
> ├──────────────┼──────────────┼──────────────┼──────────────┤
>
> │40 41 42 43 44│45 46 47 48 49│50 51 52 53 54│55 56 57 58 59│
>
> └──────────────┴──────────────┴──────────────┴──────────────┘
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



-- 

Devon McCormick, CFA

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

Reply via email to