public static class InverseWishartDistribution.PDF extends InverseWishartDistribution implements ProbabilityDensityFunction<Matrix>
InverseWishartDistribution.MultivariateGammaFunction, InverseWishartDistribution.PDF| Modifier and Type | Field and Description |
|---|---|
static double |
LOG_OF_2
The natural logarithm of 2.0.
|
DEFAULT_DIMENSIONALITY, degreesOfFreedom, inverseScale| Constructor and Description |
|---|
PDF()
Creates a new instance of InverseWishartDistribution
|
PDF(InverseWishartDistribution other)
Copy constructor.
|
PDF(Matrix inverseScale,
int degreesOfFreedom)
Creates a new instance of InverseWishartDistribution
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
evaluate(Matrix input)
Evaluates the function on the given input and returns the output.
|
InverseWishartDistribution.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, getDegreesOfFreedom, getInputDimensionality, getInverseScale, getMean, getScaleSqrt, sample, sampleInto, setDegreesOfFreedom, setInverseScalesample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMeanclone, convertFromVector, convertToVectorsample, sample, sampleIntopublic PDF()
public PDF(Matrix inverseScale, int degreesOfFreedom)
inverseScale - Inverse scale matrix, must be symmetric and positive definite.degreesOfFreedom - Degrees of freedom, must be greater than the inverse scale
dimensionality.public PDF(InverseWishartDistribution other)
other - InverseWishartDistribution to copypublic java.lang.Double evaluate(Matrix input)
Evaluatorpublic double logEvaluate(Matrix input)
ProbabilityFunctionlogEvaluate in interface ProbabilityFunction<Matrix>input - The input to be evaluatedpublic InverseWishartDistribution.PDF getProbabilityFunction()
ComputableDistributiongetProbabilityFunction in interface ComputableDistribution<Matrix>getProbabilityFunction in interface ProbabilityDensityFunction<Matrix>getProbabilityFunction in class InverseWishartDistribution