P
- the type of the point at which density is to be computed, this
may be for example Double.
This interface is deprecated. As of version 2.0, the ContinuousDistribution
interface will be extended to include a density(double)
method.
@Deprecated
public interface HasDensity<P>
Interface that signals that a distribution can compute the probability density function for a particular point.
Modifier and Type | Method and Description |
---|---|
double |
density(P x)
Deprecated.
Compute the probability density function.
|
double density(P x) throws MathException
x
- point for which the probability density is requestedMathException
- if probability density cannot be computed at specifed pointCopyright © 2010 - 2020 Adobe. All Rights Reserved