comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Moment(randomn(seed,1.e7)+100.)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Moment(randomn(seed,1.e7)+100.) [message #9836] Thu, 04 September 1997 00:00
Andilu is currently offline  Andilu
Messages: 1
Registered: September 1997
Junior Member
Can someone please explain what is going on here?
I am using IDL 4.0 on a SUN Ultra-Sparc running Solaris 2.5.

IDL> ran_nums = randomn(seed, 1.e7)

IDL> print, moment( ran_nums )
-9.62740e-05 0.984964 -0.00155998 0.0514126

IDL> print, moment( ran_nums + 100. )
110.819 68.0284 -2.29521 0.120336

This problem goes away with N_elements = 1.e6.

What is it that I need to know to explain this behavior?
Thanks.

Andrew F. Loughe | afl@cdc.noaa.gov
University of Colorado, CIRES Box 449 | http://cdc.noaa.gov/~afl
Boulder, CO 80309-0449 | phn:(303)492-0707 fax:(303)497-7013
------------------------------------------------------------ ---------------
"I do not feel obliged to believe that the same God who has endowed us with
sense, reason, and intellect has intended us to forego their use." -Galileo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL -> MPEG
Next Topic: Re: Modified Bessel functions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:13:48 PDT 2025

Total time taken to generate the page: 0.00513 seconds