Interface NormalDistribution
-
- All Superinterfaces:
ContinuousDistribution
,Distribution
,HasDensity<java.lang.Double>
- All Known Implementing Classes:
NormalDistributionImpl
public interface NormalDistribution extends ContinuousDistribution, HasDensity<java.lang.Double>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description double
density(java.lang.Double x)
Return the probability density for a particular point.double
getMean()
Access the mean.double
getStandardDeviation()
Access the standard deviation.void
setMean(double mean)
Deprecated.as of v2.1void
setStandardDeviation(double sd)
Deprecated.as of v2.1-
Methods inherited from interface org.apache.commons.math.distribution.ContinuousDistribution
inverseCumulativeProbability
-
Methods inherited from interface org.apache.commons.math.distribution.Distribution
cumulativeProbability, cumulativeProbability
-
-
-
-
Method Detail
-
getMean
double getMean()
Access the mean.- Returns:
- mean for this distribution
-
setMean
@Deprecated void setMean(double mean)
Deprecated.as of v2.1Modify the mean.- Parameters:
mean
- for this distribution
-
getStandardDeviation
double getStandardDeviation()
Access the standard deviation.- Returns:
- standard deviation for this distribution
-
setStandardDeviation
@Deprecated void setStandardDeviation(double sd)
Deprecated.as of v2.1Modify the standard deviation.- Parameters:
sd
- standard deviation for this distribution
-
density
double density(java.lang.Double x)
Return the probability density for a particular point.- Specified by:
density
in interfaceHasDensity<java.lang.Double>
- Parameters:
x
- The point at which the density should be computed.- Returns:
- The pdf at point x.
-
-