org.encog.mathutil.randomize.generate

## Class AbstractBoxMuller

- java.lang.Object
- - org.encog.mathutil.randomize.generate.AbstractGenerateRandom
  - - org.encog.mathutil.randomize.generate.AbstractBoxMuller

- All Implemented Interfaces:
    GenerateRandom
  Direct Known Subclasses:
    LinearCongruentialRandom, MersenneTwisterGenerateRandom, MultiplyWithCarryGenerateRandom

      public abstract class AbstractBoxMuller
      extends AbstractGenerateRandom

  Provides the ability for subclasses to generate normally distributed random numbers.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static double` | `MU` The mean.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractBoxMuller()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `nextGaussian()`

    - ### Methods inherited from class org.encog.mathutil.randomize.generate.AbstractGenerateRandom

      `nextDouble, nextDouble, nextInt, nextInt`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.encog.mathutil.randomize.generate.GenerateRandom

      `nextBoolean, nextDouble, nextFloat, nextInt, nextLong`

- - ### Field Detail

    - #### MU

          public static final double MU

      The mean.
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### AbstractBoxMuller

          public AbstractBoxMuller()

  - ### Method Detail

    - #### nextGaussian

          public double nextGaussian()

      Returns:
        The next normally distributed random number.

Copyright © 2014. All Rights Reserved.