|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.math.num.random.AbstractContinuousRandomVariable
jhplot.math.num.random.GammaRandomVariable
public class GammaRandomVariable
A random variable generator for the Gamma distribution.
References:
Constructor Summary | |
---|---|
GammaRandomVariable()
Default constructor. |
|
GammaRandomVariable(double a,
double b)
Create a random variable with the given alpha and beta values. |
|
GammaRandomVariable(double a,
double b,
RNG source)
Create a random variable with the given parameters. |
Method Summary | |
---|---|
double |
nextRandomVariable()
Access the next random variable from this generator. |
static double |
nextRandomVariable(double a,
double b,
RNG source)
Access the next random variable using the given generator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GammaRandomVariable()
public GammaRandomVariable(double a, double b)
a
- the alpha parameter.b
- the beta parameter.public GammaRandomVariable(double a, double b, RNG source)
a
- the alpha parameter.b
- the beta parameter.source
- the source generatorMethod Detail |
---|
public static double nextRandomVariable(double a, double b, RNG source)
a
- the alpha parameter.b
- the beta parameter.source
- the source generator
public double nextRandomVariable()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |