
public class TruncatedMultivariateNormalDistribution extends Object implements ContinuousMultivariateDistribution
References:
| Modifier and Type | Field and Description |
|---|---|
private Matrix |
covariances |
private Vector |
lowerBounds |
private Vector |
means |
private int |
n |
private Vector |
upperBounds |
| Constructor and Description |
|---|
TruncatedMultivariateNormalDistribution(Vector means,
Matrix covariances,
Vector lb,
Vector ub)
Create an instance of a multivariate distribution that is bounded.
|
private final int n
private final Vector lowerBounds
private final Vector upperBounds
private final Vector means
private final Matrix covariances
public TruncatedMultivariateNormalDistribution(Vector means, Matrix covariances, Vector lb, Vector ub)
means - the [mathematical] vector of the means of each variable.covariances - the [mathematical] matrix of the covariances of each variable.lb - the [mathematical] vector of the lower bounds of each variable.ub - the [mathematical] vector of the upper bounds of each variable.public Vector sample()
ContinuousMultivariateDistributionsample in interface ContinuousMultivariateDistributionCopyright © 2015 University of Glasgow. All rights reserved.