[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Random Number Generator
From: |
Haroldo V. Ribeiro |
Subject: |
Re: [Help-gsl] Random Number Generator |
Date: |
Wed, 18 Aug 2010 07:49:18 -0300 |
Hello Boxem,
Look at section 18.3 in gsl-ref, the function gsl_rng_free is there.
And you may use it to clean the memory allocated by gsl_rng_alloc.
Best regards
--
Haroldo Valentin Ribeiro
Departamento de Física
Universidade Estadual de Maringá
Avenida Colombo, 5790
87020-900 Maringá, Paraná, Brazil
Fax: +55 44 3263 4623
Phone: +55 44 3041 5937
Skype: haroldov
E-mail: address@hidden,
address@hidden
2010/8/18 Ruben Van Boxem <address@hidden>
> hi,
>
> When and how should I free the gsl_rng_type pointer I use to create my rng?
> Can I free it right after the call to
>
> > r = gsl_rng_alloc (T);
> >
>
> The example in the
> documentation<
> http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Generator-Examples.html
> >does
> not, so I wonder if gsl_rng_free doesn't do this.
>
> Thanks!
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>