|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectpsimjava.Normal
public class Normal
Normal Distribution random number generator
PsimJ Java package for OO simulationObject-oriented simulation package, process interaction approach.
(C) J. M. Garrido. June 2000, 2003, 2004, 2007
Random number generator, Normal distribution
| Constructor Summary | |
|---|---|
Normal(double rmean,
double rstd)
Constructor using values of type double |
|
Normal(double rmean,
double rstd,
int seed)
Constructor using values of type double |
|
| Method Summary | |
|---|---|
double |
fdraw()
This function generates a random number from Normal distribution set up by the constructor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Normal(double rmean,
double rstd,
int seed)
rmean - double - Mean of the distributionrstd - double - Standard Deviation of the distributionseed - int - seed for the distribution
public Normal(double rmean,
double rstd)
rmean - double - Mean of the distributionrstd - double - Standard Deviation of the distribution| Method Detail |
|---|
public double fdraw()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||