|
[
Permlink
| « Hide
]
Ted Dunning added a comment - 23/May/09 11:41 PM
Source code for implementation.
Thanks! Have a look at the o.a.c.m.special package, There is a Gamma class there that could use this,
Here is a patch that integrates the digamma function into the normal commons math structure.
I have left this open rather than resolve it because I don't see a "patch available" state such as I am used to on Hadoop and related projects. The patch is available and should be ready for committing (subject to committers approving, of course). Patch applied in r778091 with only minor changes. thanks!
The previous patch lost some comments from my original.
Also, I added a trigramma function. I improved the javadoc and added a trigamma function with associated tests.
This patch is relative to current trunk which already contains the digamma function that Phil just committed. Second patch applied. I made a few small changes to the javadoc to match the style of [math].
Thanks! closing resolved issue for 2.0 release
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||