[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl]error at http://sources.redhat.com/gsl/ref/gsl-ref_19.html#SEC2
From: |
keith . briggs |
Subject: |
[Bug-gsl]error at http://sources.redhat.com/gsl/ref/gsl-ref_19.html#SEC298 |
Date: |
Fri, 17 Jan 2003 11:14:06 -0000 |
>This function returns a random variate from the chi-squared distribution
with nu degrees of freedom. The distribution function is,
>p(x) dx = {1 \over \Gamma(\nu/2) } (x/2)^{\nu/2 - 1} \exp(-x/2) dx
That should be
p(x) dx = {1 \over (2^{n/2} \Gamma(\nu/2)) } (x/2)^{\nu/2 - 1} \exp(-x/2) dx
I haven't checked if the code is correct.
Keith
Dr. Keith M. Briggs
NB: new mail address and fax number from 2002 Dec 05 !
Senior Mathematician, Complexity Research, BTexact Technologies
my latest papers!: http://front.math.ucdavis.edu/math.NT/0211143
http://front.math.ucdavis.edu/math.CA/0211142
email: address@hidden
phone: +44(0)1473 work: 641 911 home: 610 517 fax: 642 161
profile: http://www.btexact.com/ideas/profiles?doc=42493
web: (work) http://more.btexact.com/people/briggsk2/
web: (private) http://members.lycos.co.uk/keithmbriggs/
mail: Keith Briggs, Polaris 134, Adastral Park, Martlesham, Suffolk
IP5 3RE, UK
BTexact Technologies is a trademark of British Telecommunications
plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains information from British
Telecommunications plc which may be privileged or confidential. The
information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or email (to the numbers or address above)
immediately.
- [Bug-gsl]error at http://sources.redhat.com/gsl/ref/gsl-ref_19.html#SEC298,
keith . briggs <=