public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Random Number Seed
@ 2004-03-01 16:03 Przemyslaw Sliwa
  2004-03-01 16:53 ` Frederick Joseph Ross
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Przemyslaw Sliwa @ 2004-03-01 16:03 UTC (permalink / raw)
  To: gsl-discuss

Hi,

I have a question:
When one wants to use the random number seed different than the default one (equals to 0) one can use the macro GSL_RNG_SEED=seed from the command line. I would like to use the system time as the seed and have no idea how one can use the it from the command line. Therefore I want to use the function clock() in my C program. Could you help me how the seed can be initialized from the function claock() within my c program?

Thank you for help,

Pshem




--------------------------------------------------
Deutsche Bank AG
Risk Controlling
Credit Risk Engineering & Implementation
            /  Daily Credit Risk

Tel.:  (+44 20) 754 59676 London
Fax:   (+44 20) 754  71060 London

----------------------------------------------------


--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-02-22  8:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 16:03 Random Number Seed Przemyslaw Sliwa
2004-03-01 16:53 ` Frederick Joseph Ross
2004-03-01 17:55 ` Robert G. Brown
2004-03-01 20:06   ` Daniel T Konkle
2005-02-21 11:55   ` Olaf Lenz
2005-02-21 12:03     ` Jerome BENOIT
2005-02-21 12:47     ` Robert G. Brown
2005-02-22  8:19       ` Olaf Lenz
2004-03-04 17:42 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).