public static class NormalInverseWishartDistribution.PDF extends NormalInverseWishartDistribution implements ProbabilityDensityFunction<Matrix>
NormalInverseWishartDistribution.PDFcovarianceDivisor, DEFAULT_COVARIANCE_DIVISOR, DEFAULT_DIMENSIONALITY, gaussian, inverseWishart| Constructor and Description |
|---|
PDF()
Default constructor
|
PDF(int dimensionality,
double covarianceDivisor)
Creates a new instance of NormalInverseWishartDistribution
|
PDF(MultivariateGaussian gaussian,
InverseWishartDistribution inverseWishart,
double covarianceDivisor)
Creates a new instance of NormalInverseWishartDistribution
|
PDF(NormalInverseWishartDistribution other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
evaluate(Matrix input)
Evaluates the function on the given input and returns the output.
|
NormalInverseWishartDistribution.PDF |
getProbabilityFunction()
Gets the distribution function associated with this Distribution,
either the PDF or PMF.
|
double |
logEvaluate(Matrix input)
Evaluate the natural logarithm of the distribution function.
|
clone, convertFromVector, convertToVector, getCovarianceDivisor, getGaussian, getInputDimensionality, getInverseWishart, getMean, sampleInto, setCovarianceDivisor, setGaussian, setInverseWishartsample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMeanclone, convertFromVector, convertToVectorsample, sample, sampleIntopublic PDF()
public PDF(int dimensionality,
double covarianceDivisor)
dimensionality - Dimensionality of the distributionscovarianceDivisor - Term that divides the covariance sampled from the inverseWishart,
must be greater than zero.public PDF(MultivariateGaussian gaussian, InverseWishartDistribution inverseWishart, double covarianceDivisor)
gaussian - Generates the mean, given the covariance from the inverseWishart.inverseWishart - Generates the covariance for the Gaussian.covarianceDivisor - Term that divides the covariance sampled from the inverseWishart,
must be greater than zero.public PDF(NormalInverseWishartDistribution other)
other - NormalInverseWishartDistribution to copypublic NormalInverseWishartDistribution.PDF getProbabilityFunction()
ComputableDistributiongetProbabilityFunction in interface ComputableDistribution<Matrix>getProbabilityFunction in interface ProbabilityDensityFunction<Matrix>getProbabilityFunction in class NormalInverseWishartDistributionpublic double logEvaluate(Matrix input)
ProbabilityFunctionlogEvaluate in interface ProbabilityFunction<Matrix>input - The input to be evaluated