Class RayleighRNG

All Implemented Interfaces:
RandomNumberGenerator, Seedable

public class RayleighRNG extends InverseTransformSampling
This random number generator samples from the Rayleigh distribution using the inverse transform sampling method.
See Also:
  • Constructor Details

    • RayleighRNG

      public RayleighRNG(double sigma)
      Constructs a random number generator to sample from the Rayleigh distribution.
      Parameters:
      sigma - the standard deviation