public class Poisson extends UnivariateSequenceGenerator
| Constructor and Description |
|---|
Poisson(double dblLambda)
Construct a Poisson Random Number Generator
|
| Modifier and Type | Method and Description |
|---|---|
double |
lambda()
Retrieve Lambda
|
double |
random()
Generate a Random Number according to the specified rule
|
SingleSequenceAgnosticMetrics |
sequence(int iNumEntry,
R1 distPopulation)
Generate a Random Sequence along with its Metrics
|
sequencepublic Poisson(double dblLambda)
throws java.lang.Exception
dblLambda - Lambdajava.lang.Exception - Thrown if the inputs are invalidpublic double lambda()
public double random()
UnivariateSequenceGeneratorrandom in class UnivariateSequenceGeneratorpublic SingleSequenceAgnosticMetrics sequence(int iNumEntry, R1 distPopulation)
UnivariateSequenceGeneratorsequence in class UnivariateSequenceGeneratoriNumEntry - Number of Entries in the SequencedistPopulation - The True Underlying Generator Distribution of the Population