Fraser Jackson wrote:
> John's comment about numerical stability is the wrong way around.  sd is
> clearly more stable than sd2.
>
>    a =: i:5
>    b =: 100000000000000+i:5
>    sd a
> 3.31662
>    sd b
> 3.31662
>
>    sd2 a
> 3.31662
>    sd2 b
> 0j1.13112e6

Fraser:

I can't reproduce your result here (your example works correctly), but I
am not so sure about my claim anyway, so I'll withdraw it.

I hope these 1-liners are what Don wants.

Best wishes,

John

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

Reply via email to