|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--Opus5.UniformRV
A random variable uniformly distributed on a specified interval, (u,v).
| Field Summary | |
protected double |
u
The lower bound of the distribution. |
protected double |
v
The upper bound of the distribution. |
| Fields inherited from interface Opus5.RandomVariable |
copyright |
| Constructor Summary | |
UniformRV(double u,
double v)
Constructs a UniformRV with the specified bounds. |
|
| Method Summary | |
double |
nextDouble()
Returns a random number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected double u
protected double v
| Constructor Detail |
public UniformRV(double u,
double v)
UniformRV with the specified bounds.u - The lower bound.| Method Detail |
public double nextDouble()
nextDouble in interface RandomVariable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||