I think Raul's distance should be dyadic. distance=.+&.:*: 3 distance 4 5 distance / 3 4 5 distance / 1 1 1 1 2
but all the examples in /j601/system/extras/help/phrases/hooks.htm are Jems. - Bo --- Den fre 13/8/10 skrev Raul Miller <[email protected]>: > Fra: Raul Miller <[email protected]> > Emne: Re: [Jprogramming] Jems > Til: "Programming forum" <[email protected]> > Dato: fredag 13. august 2010 17.34 > On Fri, Aug 13, 2010 at 10:33 AM, Dan > Bron <[email protected]> wrote: > > What other Jems are suitable to introduce the > language? Why do you think > > so? > > Not to be mean, but the old cliche does have some legs > geometric=: (+/ % #)&.:^. > harmonic=: (+/ % #)&.:% > > And related functions include: > stddev=: mean&.:*:@:(- mean=:+/ %#) > distance=: +/"1&.:*: > > Another good one is polynomial product: > pprd=: +//.@(*/) > > I also remember some good ones in cliff reiter's book, and > I think I remember a good one for cross product, but I need > to run. > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
