public class XiTanLiu2010a extends Object implements RandomGammaGenerator
| Constructor and Description |
|---|
XiTanLiu2010a(double k)
Construct a random number generator to sample from the gamma distribution.
|
XiTanLiu2010a(double k,
RandomLongGenerator uniform)
Construct a random number generator to sample from the gamma distribution.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Get the next random
double. |
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public XiTanLiu2010a(double k,
RandomLongGenerator uniform)
k - the shape parameteruniform - a uniform random number generatorpublic XiTanLiu2010a(double k)
k - the shape parameterpublic void seed(long... seeds)
Seedablepublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.