This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: about change seed...
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Neli <neli at dim dot fm dot usp dot br>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Thu, 14 Mar 2002 20:45:10 +0000 (GMT)
- Subject: Re: about change seed...
- References: <3C90B78C.1DB3A294@dim.fm.usp.br>
Neli writes:
> Please, I want to change the seed in my program. I am using the
> GSL_RNG_SEED=time;
> where time is a integer variable.
> But I don't known how to declare this function.
> I need the seed change for each step, inside a for procedure.
> If anyone have a exemplo to do it, please replying me.
> Thank,
> Neli
Use the function gsl_rng_set(r, seed);
Brian