|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.util.random.RandomNumberGenerator
drcl.util.random.LognormalDistribution
| Constructor Summary | |
LognormalDistribution()
|
|
LognormalDistribution(double normalMean_,
double normalStd_)
|
|
LognormalDistribution(double normalMean_,
double normalStd_,
long normalSeed_)
|
|
LognormalDistribution(long normalSeed_)
|
|
| Method Summary | |
double |
getMean()
|
java.lang.String |
getName()
|
double |
getNormalMean()
Returns the "normal" distribution mean for the lognormal distribution. |
double |
getNormalStd()
Returns the "normal" distribution std for the lognormal distribution. |
java.lang.String |
info(java.lang.String prefix_)
|
double |
nextDouble()
This method does not check overflow. |
int |
nextInt()
This method does not check overflow. |
long |
nextLong()
This method does not check overflow. |
java.lang.String |
oneline()
|
void |
setNormalMean(double m_)
Sets the "normal" distribution mean for the lognormal distribution. |
void |
setNormalStd(double std_)
Sets the "normal" distribution std for the lognormal distribution. |
| Methods inherited from class drcl.util.random.RandomNumberGenerator |
duplicate, getSeed, getStd, info, reset, setSeed, toString |
| Methods inherited from class drcl.DrclObj |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LognormalDistribution()
public LognormalDistribution(long normalSeed_)
public LognormalDistribution(double normalMean_,
double normalStd_)
public LognormalDistribution(double normalMean_,
double normalStd_,
long normalSeed_)
| Method Detail |
public java.lang.String getName()
getName in class RandomNumberGeneratorpublic double getMean()
getMean in class RandomNumberGeneratorpublic double nextDouble()
nextDouble in class RandomNumberGeneratorpublic int nextInt()
nextInt in class RandomNumberGeneratorpublic long nextLong()
nextLong in class RandomNumberGeneratorpublic void setNormalMean(double m_)
public double getNormalMean()
public void setNormalStd(double std_)
public double getNormalStd()
public java.lang.String info(java.lang.String prefix_)
info in class RandomNumberGeneratorpublic java.lang.String oneline()
oneline in class RandomNumberGenerator
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||