public class NormalDistributionFunction2D extends Object implements Function2D, Serializable
| Constructor and Description |
|---|
NormalDistributionFunction2D(double mean,
double std)
Constructs a new normal distribution function.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests this function for equality with an arbitrary object.
|
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.
|
int |
hashCode()
Returns a hash code for this instance.
|
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 Function2Dx - the x-value.public boolean equals(Object obj)
Copyright © 2001–2014 JFree.org. All rights reserved.