public abstract class AnotherAbstractRealDistribution
extends org.apache.commons.math3.distribution.AbstractRealDistribution
implements org.apache.commons.math3.analysis.UnivariateFunction
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
cachedMean |
protected java.lang.Double |
cachedVariance |
Constructor and Description |
---|
AnotherAbstractRealDistribution() |
Modifier and Type | Method and Description |
---|---|
double |
cumulativeProbability(double x) |
double |
getNumericalMean()
The expected value:
|
double |
getNumericalVariance() |
double |
value(double x)
The function value is the density.
|
cumulativeProbability, getSolverAbsoluteAccuracy, inverseCumulativeProbability, logDensity, probability, probability, reseedRandomGenerator, sample, sample
protected java.lang.Double cachedMean
protected java.lang.Double cachedVariance
public double cumulativeProbability(double x)
cumulativeProbability
in interface org.apache.commons.math3.distribution.RealDistribution
public double getNumericalMean()
getNumericalMean
in interface org.apache.commons.math3.distribution.RealDistribution
public double getNumericalVariance()
getNumericalVariance
in interface org.apache.commons.math3.distribution.RealDistribution
public final double value(double x)
value
in interface org.apache.commons.math3.analysis.UnivariateFunction