Class InverseTransformSamplingGammaRNG

java.lang.Object
dev.nm.stat.random.rng.univariate.InverseTransformSampling
dev.nm.stat.random.rng.univariate.gamma.InverseTransformSamplingGammaRNG
All Implemented Interfaces:
RandomGammaGenerator, RandomNumberGenerator, Seedable

@Deprecated public class InverseTransformSamplingGammaRNG extends InverseTransformSampling implements RandomGammaGenerator
Deprecated.
There exist much more efficient algorithms.
This is a pseudo random number generator that samples from the gamma distribution using the inverse transform sampling method. This method is very slow and much better methods exist.
See Also:
  • Constructor Details

    • InverseTransformSamplingGammaRNG

      public InverseTransformSamplingGammaRNG(double k, double theta)
      Deprecated.
      Construct a random number generator to sample from the gamma distribution using the inverse transform sampling method.
      Parameters:
      k - the shape parameter
      theta - the scale parameter
    • InverseTransformSamplingGammaRNG

      public InverseTransformSamplingGammaRNG()
      Deprecated.
      Construct a random number generator to sample from the standard gamma distribution using the inverse transform sampling method.