|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsim.variate.Variate jsim.variate.Uniform2
public class Uniform2
Uniform random variate generation in which variates are constructed by specifying the lower and upper bounds.
Constructor Summary | |
---|---|
Uniform2(double min,
double max,
int i)
Constructs a Unifrom random variate. |
Method Summary | |
---|---|
double |
gen()
Generate a random number from the Uniform distribution. |
java.lang.Double[] |
getParameters()
Get the parameters of the constuctor |
Methods inherited from class jsim.variate.Variate |
---|
incStream, printName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Uniform2(double min, double max, int i)
min
- minimum valuemax
- maximum valuei
- streamMethod Detail |
---|
public java.lang.Double[] getParameters()
getParameters
in class Variate
public double gen()
gen
in class Variate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |