|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.math.stat.NormalDist
class NormalDist
This class is used to represent normal distributions.
Constructor Summary | |
---|---|
NormalDist(double average,
double stdev)
Constructs a new normal distribution with the provided average and standard deviation. |
Method Summary | |
---|---|
double |
getMean()
Returns the mean, or average, of this distribution. |
double |
getStdev()
Returns the standard deviation of this distribution. |
double |
getVariance()
Returns the variance of this distribution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NormalDist(double average, double stdev)
average
- the mean of the distribution.stdev
- the standard deviation of the distribution.Method Detail |
---|
public double getMean()
public double getStdev()
public double getVariance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |