public abstract class GammaFunction extends Object implements Serializable
Properties:
<ul>Constructor and Description |
---|
GammaFunction() |
Modifier and Type | Method and Description |
---|---|
abstract double |
compute_log(double number)
Get the value of the log of gamma function for the specified number.
|
abstract double |
compute(double number)
Get the value of the gamma function for the specified number.
|
static long |
factorial(long n)
Compute factorial of n, for 0 < n < 21.
|
static GammaFunction |
getGammaFunction()
Obtain an instance of GammaFunction
|
static void |
main(String[] args) |
public abstract double compute(double number)
number
- for which is requiredpublic abstract double compute_log(double number)
number
- for which is requiredpublic static final GammaFunction getGammaFunction()
public static void main(String[] args)
public static final long factorial(long n)
n
- number to compute forTerrier 4.0. Copyright © 2004-2014 University of Glasgow