help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Random Number Generator


From: Jerome BENOIT
Subject: Re: [Help-gsl] Random Number Generator
Date: Thu, 16 Sep 2010 14:05:02 +0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100805 Icedove/3.0.6

Hello List,

On 16/09/10 04:52, Orahcio Felicio de Sousa wrote:
Hi,

I want to save the gsl_rng_state into a unsigned long int var. I tried to
write the line
printf("%lu\n",(unsigned long int)gsl_rng_state(r));
But, when I execute the code, different results are showed in
the standard output. Somebody suggests?

Do you mean that your computed data are getting different with the saved state ?
If yes, have you tried to input the seed for each run ?

hth,
Jerome


Thank's a lot.

Orahcio
_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]