Cheng1978
is a much better algorithm.@Deprecated public class VanDerWaerden1969 extends Object implements RandomBetaGenerator
Constructor and Description |
---|
VanDerWaerden1969(double alpha,
double beta)
Deprecated.
Construct a random number generator to sample from the beta distribution.
|
VanDerWaerden1969(RandomGammaGenerator X,
RandomGammaGenerator Y)
Deprecated.
Construct a random number generator to sample from the beta distribution.
|
Modifier and Type | Method and Description |
---|---|
double |
nextDouble()
Deprecated.
Get the next random
double . |
void |
seed(long... seeds)
Deprecated.
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public VanDerWaerden1969(RandomGammaGenerator X, RandomGammaGenerator Y)
X
- a random gamma generatorY
- a random gamma generatorpublic VanDerWaerden1969(double alpha, double beta)
alpha
- the gamma distribution parameter, α, for Xbeta
- the gamma distribution parameter, β, for Xpublic void seed(long... seeds)
Seedable
public double nextDouble()
RandomNumberGenerator
double
.nextDouble
in interface RandomNumberGenerator
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.