Quite. I was being careless about the details of the question.
Agenda works as expected:

   ((;:  +: b. _1)@. 0) 12.34
   6.17

On 2014.05.22 10:46:56, you,
 the extraordinary Kip Murray, spake thus:

>    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

Reply via email to