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

Home » Public Forums » archive » random number seed initialisation
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: random number seed initialisation [message #87510 is a reply to message #87509] Mon, 10 February 2014 15:22 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bogdanovist writes:

> Thanks David, using that keeps me safe within a single session (which I do already although not with as elegant a solution as this), but how does this ensure different seeds across different sessions/users?

The seed at object initialization is pretty damn, well..., random! The
number of seconds after January 1st, 1970 or some such thing. The chance
of a sequence repeating itself seems non-existent to me. I understand
you can purchase quantum random number generators that rely on the the
space vacuum for seed generation for only a couple hundred thousand
dollars. In other words, cheap if you need that sort of thing. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: correlation coefficient and confidence level
Next Topic: gaussian grid

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

Current Time: Wed Oct 08 17:54:48 PDT 2025

Total time taken to generate the page: 0.00193 seconds