public final class Digamma extends Object
It is defined as the logarithmic derivative of the \( \Gamma \)
(Gamma
) function:
\( \frac{d}{dx}(\ln \Gamma(x)) = \frac{\Gamma^\prime(x)}{\Gamma(x)} \).
Gamma
public static double value(double x)
1e-8
.
relative tolerance for 0 < x < 1e-5
and within 1e-8
absolute
tolerance otherwise.x
- Argument.1e-8
relative or absolute error whichever
is larger.Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.