This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Borland C++ gsl_rng
- From: Joakim Hove <hove at bccs dot no>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 18 May 2004 10:29:33 +0200
- Subject: Re: Borland C++ gsl_rng
- References: <40A92A79.1070405@o2.pl>
MichaÅ Strug <mbr4@o2.pl> writes:
> const gsl_rng_type * T;
> gsl_rng * r;
> gsl_rng_env_setup();
> T = gsl_rng_default;
> r = gsl_rng_alloc (T);
Replace with (for instance):
gsl_rng * r = gsl_rng_alloc (gsl_rng_taus);
I would try allocating one of the rng_types explicitly, like the
gsl_rng_taus generator above. The default method is based on
environment variables - I have no idea how that works from Windows.
HTH - Joakim
--
/--------------------------------------------------------------------\
/ Joakim Hove / hove@bccs.no / (55 5) 84076 | \
| Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
| CMU | 5231 Paradis |
\ ThormÃhlensgt.55, 5020 Bergen. | 55 91 28 18 /
\--------------------------------------------------------------------/