Inverse of the Log Minus Digamma function

fix test

fix unittest

add crosreferences
This commit is contained in:
Ilya Yaroshenko 2015-02-22 18:33:54 +03:00
parent 9d4f5ef889
commit 9b86eebed5
2 changed files with 76 additions and 0 deletions

View file

@ -168,6 +168,8 @@ unittest {
* The digamma function is the logarithmic derivative of the gamma function.
*
* digamma(x) = d/dx logGamma(x)
*
* See_Also: $(LREF logmdigamma), $(LREF logmdigammaInverse).
*/
real digamma(real x)
{
@ -177,12 +179,25 @@ real digamma(real x)
/** Log Minus Digamma function
*
* logmdigamma(x) = log(x) - digamma(x)
*
* See_Also: $(LREF digamma), $(LREF logmdigammaInverse).
*/
real logmdigamma(real x)
{
return std.internal.math.gammafunction.logmdigamma(x);
}
/** Inverse of the Log Minus Digamma function
*
* Given y, the function finds x such log(x) - digamma(x) = y.
*
* See_Also: $(LREF logmdigamma), $(LREF digamma).
*/
real logmdigammaInverse(real x)
{
return std.internal.math.gammafunction.logmdigammaInverse(x);
}
/** Incomplete beta integral
*
* Returns incomplete beta integral of the arguments, evaluated