Class GaussianRandomGenerator

    • Method Summary

      Modifier and Type Method Description
      double nextNormalizedDouble()
      Generates a random scalar with zero mean and unit standard deviation.
      • Methods inherited from class java.lang.Object

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

      • GaussianRandomGenerator

        public GaussianRandomGenerator​(UniformRandomProvider generator)
        Creates a new generator.
        Parameters:
        generator - Underlying random generator.
    • Method Detail

      • nextNormalizedDouble

        public double nextNormalizedDouble()
        Generates a random scalar with zero mean and unit standard deviation.
        Specified by:
        nextNormalizedDouble in interface NormalizedRandomGenerator
        Returns:
        a random value sampled from a normal distribution.