public class Cheng1978 extends java.lang.Object implements RandomBetaGenerator
| Constructor and Description |
|---|
Cheng1978(double aa,
double bb)
Construct a random number generator to sample from the beta distribution.
|
Cheng1978(double aa,
double bb,
RandomLongGenerator uniform)
Construct a random number generator to sample from the beta distribution.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Get the next random
double. |
void |
seed(long... seeds)
Seed the random number generator to produce repeatable sequences.
|
public Cheng1978(double aa,
double bb,
RandomLongGenerator uniform)
aa - the degree of freedombb - the degree of freedomuniform - a uniform random number generatorpublic Cheng1978(double aa,
double bb)
aa - the degree of freedombb - the degree of freedompublic void seed(long... seeds)
RandomNumberGeneratorseed in interface RandomNumberGeneratorseeds - the seedspublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGenerator