Class BoxMullerGaussianSampler

    • 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

      • BoxMullerGaussianSampler

        public BoxMullerGaussianSampler​(UniformRandomProvider rng,
                                        double mean,
                                        double standardDeviation)
        Deprecated.
        Parameters:
        rng - Generator of uniformly distributed random numbers.
        mean - Mean of the Gaussian distribution.
        standardDeviation - Standard deviation of the Gaussian distribution.
        Throws:
        java.lang.IllegalArgumentException - if standardDeviation <= 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