public final class Gamma extends Object
The gamma
function can be seen to extend the factorial function to cover real and
complex numbers, but with its argument shifted by -1
. This
implementation supports real numbers.
This code has been adapted from:
c++
implementation <boost/math/special_functions/gamma.hpp>
.
DGAMMA
.
Modifier and Type | Method and Description |
---|---|
static double |
value(double x)
Computes the value of \( \Gamma(x) \).
|
public static double value(double x)
x
- Argument.Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.