Class MixtureMultivariateRealDistribution<T extends MultivariateRealDistribution>

    • Method Detail

      • density

        public double density​(double[] values)
        Returns the probability density function (PDF) of this distribution evaluated at the specified point x. In general, the PDF is the derivative of the cumulative distribution function. If the derivative does not exist at x, then an appropriate replacement should be returned, e.g. Double.POSITIVE_INFINITY, Double.NaN, or the limit inferior or limit superior of the difference quotient.
        Parameters:
        values - Point at which the PDF is evaluated.
        Returns:
        the value of the probability density function at point x.
      • getComponents

        public List<Pair<Double,​T>> getComponents()
        Gets the distributions that make up the mixture model.
        Returns:
        the component distributions and associated weights.