On Mon, Jan 12, 2009 at 10:49 AM, Gilles Kirouac <[email protected]> wrote:
>   ins3
> [: |: [ # [: |: #
>   ins4
> |:@[ # |:@#
>
>   1 1 1 1j1 1 (ins3 -: ins4) >: i. 5 5
> 0

Oops

I was careless, and I should have run
tests like you suggest here.

   ins4a=: [ |:@# |:@#
   1 1 1 1j1 1 (ins3 -: ins4a) >: i. 5 5
1

Which suggests:
   ins5=: |:@#^:2
   1 1 1 1j1 1 (ins3 -: ins5) >: i. 5 5
1

Thanks,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to