|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.function.NormalDistributionFunction2D
public class NormalDistributionFunction2D
A normal distribution function. See http://en.wikipedia.org/wiki/Normal_distribution.
Constructor Summary | |
---|---|
NormalDistributionFunction2D(double mean,
double std)
Constructs a new normal distribution function. |
Method Summary | |
---|---|
double |
getMean()
Returns the mean for the function. |
double |
getStandardDeviation()
Returns the standard deviation for the function. |
double |
getValue(double x)
Returns the function value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NormalDistributionFunction2D(double mean, double std)
mean
- the mean.std
- the standard deviation (> 0).Method Detail |
---|
public double getMean()
public double getStandardDeviation()
public double getValue(double x)
getValue
in interface Function2D
x
- the x-value.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |