i. 2 3 4
 0  1  2  3
 4  5  6  7
 8  9 10 11

12 13 14 15
16 17 18 19
20 21 22 23

   ,/ i. 2 3 4
 0  1  2  3
 4  5  6  7
 8  9 10 11
12 13 14 15
16 17 18 19
20 21 22 23

   $ ,/ i. 2 3 4
6 4


On Thu, Aug 8, 2019 at 6:00 AM Bill Harris <
bill_har...@facilitatedsystems.com> wrote:

> This should be easy, but I don't see it.
>
> a =: i. 2 3 4
>
> I want the f in ab =: f a where $ ab is 6 4.
>
> f =: |: @: (,"2 &.(0 1&|:)) seems to work , and f f. doesn't simplify it,
> but I keep thinking I'm missing a way to drop the leftmost |: .
>
> Ideas?
>
> Bill
> --
> Bill Harris
> ----------------------------------------------------------------------
> 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