|
From: | John A. Crow |
Subject: | Re: [Help-gsl] Maxwell - Boltzmann distributed random variables |
Date: | Mon, 22 Dec 2008 10:52:16 -0700 |
Use gsl_ran_chisq(r, 3.0) for variates describing the energy. On Dec 22, 2008, at 10:02 AM, address@hidden wrote:
Message: 2 Date: Mon, 22 Dec 2008 12:31:04 +0100 From: Daniele Nicolodi <address@hidden> Subject: [Help-gsl] Maxwell - Boltzmann distributed random variables To: address@hidden Message-ID: <address@hidden> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello, there is in gsl an utility function to obtain random numbers distributed accordingly to the Maxwell - Boltzmann distribution? Should i write it myself using gsl_rand_chi2() or gsl_rand_gamma()? Thanks. Cheers -- Daniele
[Prev in Thread] | Current Thread | [Next in Thread] |