|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.math.num.random.AbstractDiscreteRandomVariable
jhplot.math.num.random.PoissonRandomVariable
public class PoissonRandomVariable
A random variable generator for the Poisson distribution.
References:
Constructor Summary | |
---|---|
PoissonRandomVariable()
Default constructor. |
|
PoissonRandomVariable(double m)
Create a random variable with the given mean. |
|
PoissonRandomVariable(double m,
RNG source)
Create a random variable with the given parameters. |
Method Summary | |
---|---|
int |
nextRandomVariable()
Access the next random variable from this generator. |
static int |
nextRandomVariable(double m,
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 PoissonRandomVariable()
public PoissonRandomVariable(double m)
m
- the mean.public PoissonRandomVariable(double m, RNG source)
m
- the mean.source
- the source generator.Method Detail |
---|
public static int nextRandomVariable(double m, RNG source)
m
- the mean.source
- the source generator.
public int nextRandomVariable()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |