Another approach, letting j define the tacit verb:

    train =: 13 : ' (x#y) #: i. y^x'
    train
# #: [: i. ^~

    3 train 12
or
    3 (# #: [: i. ^~) 12

At 14:15  -0500 2009/12/18, David Ward Lambert wrote:
>Kind helpful people;
>
>I evaluate
>
>    12 12 12 #: i. 12^3
>
>and observe that "12" is a common argument.  Therefor this can be
>rewritten as a train.  What, please, is the train?  I suppose it could
>also be dyadic, as in
>
>    3(train)12
>
>Thanks,
>Dave.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to