However....

Executing the following two lines several times (sometimes I get erratic
results):

   5j2": (%"1<./) 5&(6!:2)&>'pair2 ry';'pair3 ry' [ry=.25
 1.00 1.34

   5j2": (%"1<./) 5&(6!:2)&>'pair2 ry';'pair3 ry' [ry=.1000
 1.02 1.00


Arie Groeneveld schreef:
> Slower , but more concise
>
> pair3=:[:;<@({.,.}.)[EMAIL PROTECTED]
>
>
> Arie Groeneveld schreef:
>   
>> pair2=:([:;],."0 _&.>[:<\.1&+)@i.@<:
>>
>>    (pair2-:pairi) 100
>> 1
>>   
>>   
>>     
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>   
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to