public class XiTanLiu2010b extends Object implements RandomGammaGenerator
Constructor and Description |
---|
XiTanLiu2010b(double k)
Construct a random number generator to sample from the gamma distribution.
|
XiTanLiu2010b(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 XiTanLiu2010b(double k, RandomLongGenerator uniform)
k
- the shape parameteruniform
- a uniform random number generatorpublic XiTanLiu2010b(double k)
k
- the shape parameterpublic void seed(long... seeds)
Seedable
public double nextDouble()
RandomNumberGenerator
double
.nextDouble
in interface RandomNumberGenerator
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.