Documentation of 'jhplot.math.num.random.MathRNG' Java class.
MathRNG
jhplot.math.num.random

Class MathRNG

  • All Implemented Interfaces:
    RNG


    public class MathRNG
    extends java.lang.Object
    implements RNG
    A random number generator that delegates random number generation to the Math.random() method.
    Since:
    1.3
    • Constructor Summary

      Constructors 
      Constructor and Description
      MathRNG() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double nextRandomNumber()
      Access the next random number from this generator.
      • Methods inherited from class java.lang.Object

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

      • MathRNG

        public MathRNG()
    • Method Detail

      • nextRandomNumber

        public double nextRandomNumber()
        Access the next random number from this generator.
        Specified by:
        nextRandomNumber in interface RNG
        Returns:
        the next random number.

DMelt 3.0 © DataMelt by jWork.ORG