Class BoxMullerLogNormalSampler

    • Method Summary

      Modifier and Type Method Description
      double sample()
      Deprecated.
      Creates a sample.
      java.lang.String toString()
      Deprecated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BoxMullerLogNormalSampler

        public BoxMullerLogNormalSampler​(UniformRandomProvider rng,
                                         double scale,
                                         double shape)
        Deprecated.
        Parameters:
        rng - Generator of uniformly distributed random numbers.
        scale - Scale of the log-normal distribution.
        shape - Shape of the log-normal distribution.
        Throws:
        java.lang.IllegalArgumentException - if scale < 0 or shape <= 0.
    • Method Detail

      • sample

        public double sample()
        Deprecated.
        Creates a sample.
        Specified by:
        sample in interface ContinuousSampler
        Returns:
        a sample.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class SamplerBase