|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.random.distribution.InverseTransformSampling
com.numericalmethod.suanshu.stats.random.distribution.Exponential
public class Exponential
Sample pseudo random numbers from the ExponentialDistribution distribution.
| Field Summary |
|---|
| Fields inherited from class com.numericalmethod.suanshu.stats.random.distribution.InverseTransformSampling |
|---|
distribution |
| Constructor Summary | |
|---|---|
Exponential()
Construct a pseudo random number generator of the standard ExponentialDistribution distribution. |
|
Exponential(double lambda,
RandomNumberGenerator rng)
Construct a pseudo-random number generator of an ExponentialDistribution distribution. |
|
| Method Summary |
|---|
| Methods inherited from class com.numericalmethod.suanshu.stats.random.distribution.InverseTransformSampling |
|---|
nextDouble, seed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Exponential(double lambda,
RandomNumberGenerator rng)
lambda - the rate parameterrng - a uniform random number generatorpublic Exponential()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||