org.jscience.physics.nuclear.kinematics.montecarlo
Class RandomWill

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.montecarlo.RandomWill

public class RandomWill
extends java.lang.Object

DOCUMENT ME!


Constructor Summary
RandomWill()
          Creates a new RandomWill object.
RandomWill(int ijkl)
          Creates new Random number generator.
 
Method Summary
static void main(java.lang.String[] a)
          DOCUMENT ME!
 double next()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomWill

public RandomWill(int ijkl)
           throws java.lang.Exception
Creates new Random number generator. The seed value Will has always used is 6789754.

Parameters:
ijkl - seed value from 0 to 900000000
Throws:
java.lang.Exception

RandomWill

public RandomWill()
           throws java.lang.Exception
Creates a new RandomWill object.

Throws:
java.lang.Exception - DOCUMENT ME!
Method Detail

next

public double next()
DOCUMENT ME!

Returns:
DOCUMENT ME!

main

public static void main(java.lang.String[] a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!