Cheng1978 is a much better algorithm.@Deprecated public class VanDerWaerden1969 extends java.lang.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 generator to produce repeatable sequences.
|
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)
RandomNumberGeneratorseed in interface RandomNumberGeneratorseeds - the seedspublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGenerator