Documentation of 'cern.jet.random.engine.RandomSeedTable' Java class
RandomSeedTable
cern.jet.random.engine

Class RandomSeedTable



  • public class RandomSeedTable
    extends java.lang.Object
    (Seemingly gigantic) table of good seeds for pseudo-random number generators.

    Implementation:

    This is a port of SeedTable.h used in CLHEP 1.4.0 (C++). CLHEP's implementation, in turn, is part of GEANT 4, a C++ simulation toolkit for High Energy Physics. Geant4, in turn, took the table from the original FORTRAN77 implementation of the HEP CERN Library routine RECUSQ. Each sequence has a period of 10**9 numbers.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int COLUMNS
      The number of columns of the matrix (currently COLUMNS = 2).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int getSeedAtRowColumn(int row, int column)
      Returns a deterministic seed from a (seemingly gigantic) matrix of predefined seeds.
      • Methods inherited from class java.lang.Object

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

      • COLUMNS

        public static final int COLUMNS
        The number of columns of the matrix (currently COLUMNS = 2).
        See Also:
        Constant Field Values
    • Method Detail

      • getSeedAtRowColumn

        public static int getSeedAtRowColumn(int row,
                                             int column)
        Returns a deterministic seed from a (seemingly gigantic) matrix of predefined seeds.
        Parameters:
        row - should (but need not) be in [0,Integer.MAX_VALUE].
        column - shoould (but need not) be in [0,SeedTable.COLUMNS-1].
        Returns:
        the seed at the indicated matrix position.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.