h=. [: ((;:  +: b. _1)@. 0)[: ^. +:
   h 123
2.75267

On Thursday, May 22, 2014, Nollaig MacKenzie <[email protected]>
wrote:

> I thought agenda would work, but I get:
>
>    h=. ((;:  +: b. _1)@. 0)^. +:
>       h 123
>       1.33656
>
>
> On 2014.05.21 23:56:33, you,
>  the extraordinary Kip Murray, spake thus:
>
> >
> > Better
> >
> >    h=: 13 :'(+: ^: _1)  ^. +: y'
> >    h
> > [: +:^:_1 [: ^. +:
> >    h 123
> > 2.75267
> >
> > --Kip
>
> --
> Nollaig MacKenzie
> http://www.yorku.ca/nollaig
> ----------------------------------------------------------------------
> 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

Reply via email to