|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Random
org.statcato.random.UniformSample
public class UniformSample
A random sampler for a range of uniformly distributed continuous double values.
| Constructor Summary | |
|---|---|
UniformSample(double minimum,
double maximum)
Constructor. |
|
| Method Summary | |
|---|---|
double |
nextSample()
Returns the next random sample within [minimum, maximum) |
| Methods inherited from class java.util.Random |
|---|
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformSample(double minimum,
double maximum)
minimum - inclusivemaximum - exclusive| Method Detail |
|---|
public double nextSample()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||