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 #87504 is a reply to message #87502] Sun, 09 February 2014 18:37 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bogdanovist writes:

> I have a system that will be used by multiple users that, as a part of it, requires the creation of temporary files that I just give a random file name. I'm not sure how IDL goes about initialising the random seed if you don't supply it, so how can I ensure that different users running concurrently won't use the same initial seed and hence end up with the same file names?

Use the RandomNumberGenerator object from the Coyote Library:

http://www.idlcoyote.com/programs/randomnumbergenerator__def ine.pro

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: Thu Oct 09 15:41:16 PDT 2025

Total time taken to generate the page: 0.56016 seconds