public class Gamma
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Gamma.Diff |
Modifier and Type | Method and Description |
---|---|
static Gamma.Diff |
dlnPdf(double a,
double theta,
double k,
double x) |
static Gamma.Diff |
dPdf(double a,
double theta,
double k,
double x) |
static double |
logPdf(double a,
double theta,
double k,
double x) |
static double |
pdf(double a,
double theta,
double k,
double x) |
static double |
sample(double a,
double theta,
double k,
KeanuRandom random) |
public static double sample(double a, double theta, double k, KeanuRandom random)
a
- locationtheta
- scalek
- shaperandom
- source of randomnesspublic static double pdf(double a, double theta, double k, double x)
public static double logPdf(double a, double theta, double k, double x)
public static Gamma.Diff dPdf(double a, double theta, double k, double x)
public static Gamma.Diff dlnPdf(double a, double theta, double k, double x)