public class Cheng1978 extends 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/vector/scenario generator to produce repeatable experiments.
|
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)
Seedable
public double nextDouble()
RandomNumberGenerator
double
.nextDouble
in interface RandomNumberGenerator
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.