bug in gsl_ran_chisq_pdf
keith.briggs@bt.com
keith.briggs@bt.com
Tue Apr 8 14:18:00 GMT 2003
In gsl-1.3, gsl_ran_chisq_pdf(0.0,nu) is wrong.
It returns 0.0 whatever nu is.
It should return Inf for nu=1.
It should return 0.5 for nu=2.
It should return 0.0 for nu>2.
Keith
Dr. Keith M. Briggs
Senior Mathematician, Complexity Research, BTexact.
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 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.
More information about the Gsl-discuss
mailing list