jhplot.math.num.random
Class MathRNG
java.lang.Object
jhplot.math.num.random.MathRNG
- All Implemented Interfaces:
- RNG
public class MathRNG
- extends Object
- implements RNG
A random number generator that delegates random number generation to the
Math.random()
method.
- Since:
- 1.3
Method Summary |
double |
nextRandomNumber()
Access the next random number from this generator. |
MathRNG
public MathRNG()
nextRandomNumber
public double nextRandomNumber()
- Access the next random number from this generator.
- Specified by:
nextRandomNumber
in interface RNG
- Returns:
- the next random number.
jHepWork 3.1 ©