Class WeibullRNG
- java.lang.Object
-
- dev.nm.stat.random.rng.univariate.InverseTransformSampling
-
- dev.nm.stat.random.rng.univariate.WeibullRNG
-
- All Implemented Interfaces:
RandomNumberGenerator,Seedable
public class WeibullRNG extends InverseTransformSampling
This random number generator samples from the Weibull distribution using the inverse transform sampling method.
-
-
Constructor Summary
Constructors Constructor Description WeibullRNG()Constructs a random number generator to sample from the Weibull distribution.WeibullRNG(double lambda, double k)Constructs a random number generator to sample from the Weibull distribution.
-
-
-
Constructor Detail
-
WeibullRNG
public WeibullRNG(double lambda, double k)Constructs a random number generator to sample from the Weibull distribution.- Parameters:
lambda- the scale parameterk- the shape parameter
-
WeibullRNG
public WeibullRNG()
Constructs a random number generator to sample from the Weibull distribution.
-
-