This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sjmachin
Recipients
Date 2002-03-18.13:05:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=480138

Attached is test script test_gamma.py. Passing test means: 
eye-balling of relative "errors" reveals no nasties for at 
least alpha >= 0.1

Note that Python's gammavariate() is not very accurate at 
all for alpha < 0.1 approx. However neither are another two 
methods that I tried (details in the file). I'll leave it 
at that -- evidently alpha < 1.0 is "rare and difficult" 
according to Marsaglia & Tsang.
History
Date User Action Args
2007-08-23 15:11:34adminlinkissue529408 messages
2007-08-23 15:11:34admincreate