Class 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.
See Also:
  • Constructor Details

    • WeibullRNG

      public WeibullRNG(double lambda, double k)
      Constructs a random number generator to sample from the Weibull distribution.
      Parameters:
      lambda - the scale parameter
      k - the shape parameter
    • WeibullRNG

      public WeibullRNG()
      Constructs a random number generator to sample from the Weibull distribution.