Documentation API of the 'jhplot.math.num.random.RandomRNG' Java class
RandomRNG
jhplot.math.num.random

Class RandomRNG

  • All Implemented Interfaces:
    RNG


    public class RandomRNGextends Objectimplements RNG
    A random number generator that delegates random number generation to a Random object.
    • Constructor Detail

      • RandomRNG

        public RandomRNG()
        Create a random number generator using a default Random delegate.
      • RandomRNG

        public RandomRNG(long seed)
        Create a random number generator using a Random delegate initialized with the given seed.
        Parameters:
        seed - the seed used to initialize the Random delegate.
      • RandomRNG

        public RandomRNG(Random rng)
        Create a random number generator using the given Random delegate.
        Parameters:
        rng - the Random delegate.
    • 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.

DataMelt 1.1 © jWork.ORG

Warning: You see this message because an access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of dataMelt, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.