jaga.external
Class Functions
java.lang.Object
|
+--jaga.external.Functions
- All Implemented Interfaces:
- java.io.Serializable
- public final class Functions
- extends java.lang.Object
- implements java.io.Serializable
Thanks to Sundar Dorai-Raj for this class, downloaded free from
http://www.stat.vt.edu/~sundar/java/
- See Also:
- Serialized Form
Method Summary |
static double |
fact(int n)
|
static double |
fbeta(double a,
double b)
|
static double |
fgamma(double c)
|
static double |
lnfact(int n)
|
static double |
lnfbeta(double a,
double b)
|
static double |
lnfgamma(double c)
|
static double |
nCr(int n,
int r)
|
static double |
nPr(int n,
int r)
|
static double[] |
sort(double[] x)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Functions
public Functions()
lnfgamma
public static double lnfgamma(double c)
lnfbeta
public static double lnfbeta(double a,
double b)
fbeta
public static double fbeta(double a,
double b)
fgamma
public static double fgamma(double c)
fact
public static double fact(int n)
lnfact
public static double lnfact(int n)
nCr
public static double nCr(int n,
int r)
nPr
public static double nPr(int n,
int r)
sort
public static double[] sort(double[] x)