[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Roundoff error in SMOOTH

In article <26MAY199915495025@stars.gsfc.nasa.gov>, landsman@stars.gsfc.nasa.gov (Wayne Landsman) writes...
>I was recently surprised to discover that applying the SMOOTH function to a
>non-negative array could  yield an array with negative numbers.  I give an
>example below. 

I forgot to include the IDL !VERSION used in my example:
{ sparc sunos unix 5.2 Oct 30 1998}

Testing the same example on VMS IDL V4.0.1, I still get negative numbers 
although not as many!

--Wayne Landsman                             landsman@mpb.gsfc.nasa.gov