drcl.util.random
Class GaussianDistribution
java.lang.Object
drcl.DrclObj
drcl.util.random.RandomNumberGenerator
drcl.util.random.GaussianDistribution
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable
- public class GaussianDistribution
- extends RandomNumberGenerator
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GaussianDistribution
public GaussianDistribution(double mean_,
double std_)
GaussianDistribution
public GaussianDistribution(double mean_,
double std_,
long seed_)
GaussianDistribution
public GaussianDistribution()
GaussianDistribution
public GaussianDistribution(long seed_)
getName
public java.lang.String getName()
- Specified by:
getName in class RandomNumberGenerator
nextDouble
public double nextDouble()
- Specified by:
nextDouble in class RandomNumberGenerator
nextInt
public int nextInt()
- Specified by:
nextInt in class RandomNumberGenerator
nextLong
public long nextLong()
- Specified by:
nextLong in class RandomNumberGenerator
setMean
public void setMean(double m_)
getMean
public double getMean()
- Overrides:
getMean in class RandomNumberGenerator
setStd
public void setStd(double std_)
getStd
public double getStd()
- Overrides:
getStd in class RandomNumberGenerator
info
public java.lang.String info(java.lang.String prefix_)
- Overrides:
info in class RandomNumberGenerator
oneline
public java.lang.String oneline()
- Overrides:
oneline in class RandomNumberGenerator
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~