public class InverseTransformSamplingTruncatedNormalRNG extends Object implements RandomGammaGenerator
| Constructor and Description |
|---|
InverseTransformSamplingTruncatedNormalRNG(double a,
double b)
Construct a rng that samples from a truncated standard Normal distribution using inverse
sampling technique.
|
InverseTransformSamplingTruncatedNormalRNG(double mu,
double sigma,
double a,
double b)
Construct a rng that samples from a truncated Normal distribution using inverse sampling
technique.
|
InverseTransformSamplingTruncatedNormalRNG(double mu,
double sigma,
double a,
double b,
RandomLongGenerator uniform)
Construct a rng that samples from a truncated Normal distribution using inverse sampling
technique.
|
| 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 InverseTransformSamplingTruncatedNormalRNG(double mu,
double sigma,
double a,
double b,
RandomLongGenerator uniform)
mu - the meansigma - the standard deviationa - the lower boundb - the upper bounduniform - a uniform rlgpublic InverseTransformSamplingTruncatedNormalRNG(double mu,
double sigma,
double a,
double b)
mu - the meansigma - the standard deviationa - the lower boundb - the upper boundpublic InverseTransformSamplingTruncatedNormalRNG(double a,
double b)
a - the lower boundb - the upper boundpublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.