ff=: 13 : '*/\p:i.y' ff [: */\ [: p: i. ff each 1 2 3 4 5 6 ┌─┬───┬──────┬──────────┬───────────────┬─────────────────────┐ │2│2 6│2 6 30│2 6 30 210│2 6 30 210 2310│2 6 30 210 2310 30030│ └─┴───┴──────┴──────────┴───────────────┴─────────────────────┘
…/Rob > On 13 Feb 2016, at 3:09 PM, Kip Murray <[email protected]> wrote: > > This one is fairly easy. Write the verb ff . > > (ff 1);(ff 2);(ff 3);(ff 4);(ff 5);ff 6 > +-+---+------+----------+---------------+---------------------+ > |2|2 6|2 6 30|2 6 30 210|2 6 30 210 2310|2 6 30 210 2310 30030| > +-+---+------+----------+---------------+---------------------+ > > --Kip Murray > > > > -- > Sent from Gmail Mobile > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
