org.jfree.data.function
public class NormalDistributionFunction2D extends java.lang.Object implements Function2D
Constructor and Description |
---|
NormalDistributionFunction2D(double mean,
double std)
Constructs a new normal distribution function.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public NormalDistributionFunction2D(double mean, double std)
mean
- the mean.std
- the standard deviation (> 0).public double getMean()
public double getStandardDeviation()
public double getValue(double x)
getValue
in interface Function2D
x
- the x-value.Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.