public class UnknownDistribution extends java.lang.Object implements Distribution, CentralMomentsSettable
Distribution.Type
Constructor and Description |
---|
UnknownDistribution() |
Modifier and Type | Method and Description |
---|---|
Matrix |
getMean()
This method returns the first central moment, i.e.
|
Matrix |
getRandomRealization()
This method draws a random realization from the distribution.
|
Distribution.Type |
getType()
This method returns the type of the distribution.
|
Matrix |
getVariance()
This method returns the second central moment, i.e.
|
boolean |
isMultivariate()
This method returns true if the GaussianFunction instance is multivariate.
|
boolean |
isParametric()
This method returns true if the distribution is parametric or false otherwise.
|
void |
setMean(Matrix mean)
This method sets the mean vector of the random variable.
|
void |
setVariance(Matrix variance)
This method sets the variance-covariance matrix of the random variable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isUnivariate
public boolean isMultivariate()
Distribution
isMultivariate
in interface Distribution
public Matrix getMean()
CentralMomentsGettable
getMean
in interface CentralMomentsGettable
public Matrix getVariance()
CentralMomentsGettable
getVariance
in interface CentralMomentsGettable
public Distribution.Type getType()
Distribution
getType
in interface Distribution
public void setMean(Matrix mean)
CentralMomentsSettable
setMean
in interface CentralMomentsSettable
mean
- a Matrix instancepublic void setVariance(Matrix variance)
CentralMomentsSettable
setVariance
in interface CentralMomentsSettable
variance
- a Matrix instancepublic boolean isParametric()
Distribution
isParametric
in interface Distribution
public Matrix getRandomRealization()
Distribution
getRandomRealization
in interface Distribution