Class BoxMullerLogNormalSampler

    • Constructor Detail

      • BoxMullerLogNormalSampler

        public BoxMullerLogNormalSampler​(UniformRandomProvider rng,
                                         double mu,
                                         double sigma)
        Deprecated.
        Parameters:
        rng - Generator of uniformly distributed random numbers.
        mu - Mean of the natural logarithm of the distribution values.
        sigma - Standard deviation of the natural logarithm of the distribution values.
        Throws:
        java.lang.IllegalArgumentException - if sigma <= 0.
    • Method Detail

      • sample

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

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