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

Home » Public Forums » archive » Re: randomn problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: randomn problem [message #52952 is a reply to message #52951] Mon, 12 March 2007 01:03 Go to previous messageGo to previous message
Ingo von Borstel is currently offline  Ingo von Borstel
Messages: 54
Registered: September 2006
Member
Hi,

> I was playing around with randomn and noticed some weird behavior:
>
> IDL> print, stddev(randomn(seed, 1e7))
>
> I consistently get back numbers around ~0.992. I've tried it on a

IDL> print, !version
{ x86 linux unix linux 6.1 Jul 14 2004 32 64}
IDL> print, stddev(randomn(seed,1e7))
1.00015
IDL> print, stddev(randomn(seed,1e7))
1.00013
IDL> print, stddev(randomn(seed,1e7))
0.999803
IDL> print, stddev(randomn(seed,1e7))
0.999735
IDL> print, stddev(randomn(seed,1e7))
0.999860
IDL> print, stddev(randomn(seed,1e7))
0.999887
IDL> print, stddev(randomn(seed,1e7))
1.00021
IDL> print, stddev(randomn(seed,1e7))
0.999798
IDL> print, stddev(randomn(seed,1e7))
1.00019

I cannot test it reasonably with 10^8 elements, either.

Sorry, no idea.

Best regards,
Ingo


--
Ingo von Borstel <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc

If you need an urgent reply, replace newsgroups by vgap.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: New IDLDE
Next Topic: Delete bad data and interplate the new data

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

Current Time: Thu Oct 09 20:23:24 PDT 2025

Total time taken to generate the page: 1.04111 seconds