|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Uniform de.cesr.uranus.dist.UUniformDistributionController
public class UUniformDistributionController
Uranus - Universal RAndom NUmber Service
Constructor Summary | |
---|---|
UUniformDistributionController(double from,
double to,
RandomEngine engine)
|
|
UUniformDistributionController(RandomEngine engine)
|
Method Summary | |
---|---|
protected void |
log(Number rand)
Logs the random number including names of distribution and generator. |
boolean |
nextBoolean()
|
double |
nextDouble()
|
double |
nextDoubleFromTo(double from,
double to)
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to). |
float |
nextFloatFromTo(float from,
float to)
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to). |
int |
nextInt()
Returns a uniformly distributed random number in the closed interval [min,max] (including min and max). |
int |
nextIntFromTo(int from,
int to)
|
long |
nextLongFromTo(long from,
long to)
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UUniformDistributionController(RandomEngine engine)
engine
- public UUniformDistributionController(double from, double to, RandomEngine engine)
from
- to
- engine
- Method Detail |
---|
public int nextIntFromTo(int from, int to)
cern.jet.random.Uniform#nextIntFromTo(int, int)
public boolean nextBoolean()
cern.jet.random.Uniform#nextBoolean()
public double nextDouble()
cern.jet.random.Uniform#nextDouble()
public double nextDoubleFromTo(double from, double to)
public float nextFloatFromTo(float from, float to)
public int nextInt()
public long nextLongFromTo(long from, long to)
protected void log(Number rand)
rand
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |