Class Uniform


public class Uniform
extends java.lang.Object

This class contains a Java version of the FORTRAN routine uni which generates uniform(0,1) random numbers. The FORTRAN version of uni was written by James Blue, David Kahaner, and George Marsaglia.

This class was translated by a statistician from the FORTRAN routine. It is NOT an official translation. If an official translation becomes available, it should be used rather than this version.

If you have suggestions for improving this code, please contact Steve Verrill at steve@swst.org

Constructor Summary
Uniform(int iseed)
Method Summary
 double uni()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Uniform(int iseed)
Method Detail


public double uni()