All anagrams:
 (< A.&.>~ [: i. #) i.5
+---------+---------+---------+---------+---------+
|0 1 2 3 4|0 1 2 4 3|0 1 3 2 4|0 1 3 4 2|0 1 4 2 3|
+---------+---------+---------+---------+---------+

Otherwise known as "forking A.".


On Thu, Jul 17, 2014 at 10:22 AM, 'Pascal Jasmin' via Programming <
[email protected]> wrote:

> An unusual and favorite fork is one that causes side effects:
>
> inl =: (cocurrent@] ".@] [)"1 0
>
> executes sentence in each locale on the right
>
> list of nouns and verbs in j and z locale that start with 'to'
>
>    ' ''to'' nl 0 3' (cocurrent@] ".@] [)"1 0 ;: 'j z'
>
> in all locales
>
> ' ''to'' nl 0 3' inl nl 6
>
> with helpful locale name in left column
>
> ' ''to'' nl 0 3'(] ,. (cocurrent@] ".@] [)"1 0) nl 6
>
>
> ----- Original Message -----
> From: Kip Murray <[email protected]>
> To: "[email protected]" <[email protected]>
> Cc:
> Sent: Thursday, July 17, 2014 9:34:45 AM
> Subject: Re: [Jprogramming] trains
>
>    en =: [: %: [: +/ *:  NB. Euclidian norm
>    sn =: [: >./ |        NB. Sup Norm
>    tn =: [: +/ |         NB. Taxicab Norm
>
>    v =: 4 _2 1 _10
>    en v
> 11
>    sn v
> 10
>    tn v
> 17
>
>
> On Thursday, July 17, 2014, Brian Schott <[email protected]> wrote:
>
> > Consider the dyadic forks wmean and wmean1 discussed in the following
> > message.
> >
> > wmean =: * %&(+/)[  NB. weighted mean
> > wmean1=: # %&(+/) [
> >
> > http://www.jsoftware.com/pipermail/programming/2009-February/013728.html
> >
> >
> > --
> > (B=)
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
> --
> 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
>



-- 
Devon McCormick, CFA
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to