Message39227
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. |
|
Date |
User |
Action |
Args |
2007-08-23 15:11:34 | admin | link | issue529408 messages |
2007-08-23 15:11:34 | admin | create | |
|