public class TruncatedGaussianDistribution extends StandardGaussianDistribution implements BoundedDistribution
| Modifier and Type | Class and Description |
|---|---|
protected class |
TruncatedGaussianDistribution.Bound |
Distribution.Type| Constructor and Description |
|---|
TruncatedGaussianDistribution()
Constructor 1.
|
TruncatedGaussianDistribution(Matrix mu,
Matrix sigma2)
Constructor 2.
|
| 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.
|
Matrix |
getVariance()
This method returns the second central moment, i.e.
|
void |
setLowerBoundValue(Matrix lowerBoundValue)
This method sets the lower bound.
|
void |
setUpperBoundValue(Matrix upperBoundValue)
This method sets the lower bound.
|
getInstance, getMu, getProbabilityDensity, getSigma2, getStandardDeviation, getType, isMultivariate, isParametric, setMean, setVarianceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisUnivariatepublic TruncatedGaussianDistribution()
public Matrix getMean()
CentralMomentsGettablegetMean in interface CentralMomentsGettablegetMean in class StandardGaussianDistributionpublic Matrix getVariance()
CentralMomentsGettablegetVariance in interface CentralMomentsGettablegetVariance in class StandardGaussianDistributionpublic Matrix getRandomRealization()
DistributiongetRandomRealization in interface DistributiongetRandomRealization in class StandardGaussianDistributionpublic void setLowerBoundValue(Matrix lowerBoundValue)
BoundedDistributionsetLowerBoundValue in interface BoundedDistributionlowerBoundValue - a Matrix instancepublic void setUpperBoundValue(Matrix upperBoundValue)
BoundedDistributionsetUpperBoundValue in interface BoundedDistributionupperBoundValue - a Matrix instance