gov.sandia.cognition.statistics
Interface UnivariateProbabilityDensityFunction

All Superinterfaces:
Cloneable, CloneableSerializable, ClosedFormComputableDistribution<Double>, ClosedFormDistribution<Double>, ClosedFormUnivariateDistribution<Double>, ComputableDistribution<Double>, Distribution<Double>, DistributionWithMean<Double>, Evaluator<Double,Double>, ProbabilityDensityFunction<Double>, ProbabilityFunction<Double>, ScalarFunction<Double>, Serializable, SmoothUnivariateDistribution, UnivariateDistribution<Double>, UnivariateScalarFunction, Vectorizable
All Known Implementing Classes:
BetaDistribution.PDF, CauchyDistribution.PDF, ChiSquareDistribution.PDF, ExponentialDistribution.PDF, GammaDistribution.PDF, InverseGammaDistribution.PDF, LaplaceDistribution.PDF, LogisticDistribution.PDF, LogNormalDistribution.PDF, ParetoDistribution.PDF, ScalarMixtureDensityModel.PDF, StudentTDistribution.PDF, UniformDistribution.PDF, UnivariateGaussian.PDF, WeibullDistribution.PDF

public interface UnivariateProbabilityDensityFunction
extends SmoothUnivariateDistribution, ProbabilityDensityFunction<Double>, UnivariateScalarFunction

A PDF that takes doubles as input. Most PDFs will inherit from this interface.

Since:
3.0
Author:
Kevin R. Dixon

Method Summary
 UnivariateProbabilityDensityFunction getProbabilityFunction()
          Gets the distribution function associated with this Distribution, either the PDF or PMF.
 double logEvaluate(double input)
          Evaluate the natural logarithm of the distribution function.
 
Methods inherited from interface gov.sandia.cognition.statistics.SmoothUnivariateDistribution
getCDF, getMean
 
Methods inherited from interface gov.sandia.cognition.statistics.UnivariateDistribution
getMaxSupport, getMinSupport, getVariance
 
Methods inherited from interface gov.sandia.cognition.statistics.Distribution
sample, sample
 
Methods inherited from interface gov.sandia.cognition.math.matrix.Vectorizable
clone, convertFromVector, convertToVector
 
Methods inherited from interface gov.sandia.cognition.statistics.ProbabilityFunction
logEvaluate
 
Methods inherited from interface gov.sandia.cognition.math.UnivariateScalarFunction
evaluate
 
Methods inherited from interface gov.sandia.cognition.math.ScalarFunction
evaluateAsDouble
 

Method Detail

getProbabilityFunction

UnivariateProbabilityDensityFunction getProbabilityFunction()
Description copied from interface: ComputableDistribution
Gets the distribution function associated with this Distribution, either the PDF or PMF.

Specified by:
getProbabilityFunction in interface ComputableDistribution<Double>
Specified by:
getProbabilityFunction in interface ProbabilityDensityFunction<Double>
Specified by:
getProbabilityFunction in interface SmoothUnivariateDistribution
Returns:
Distribution function associated with this Distribution.

logEvaluate

double logEvaluate(double input)
Evaluate the natural logarithm of the distribution function. This is sometimes more efficient than evaluating the distribution function itself, and when evaluating the product of many independent or exchangeable samples.

Parameters:
input - The input value.
Returns:
The natural logarithm of the distribution function.