public class CovarianceRandomDraw extends Object
| Constructor and Description |
|---|
CovarianceRandomDraw(Random rand,
DenseMatrix64F cov)
Creates a random distribution with the specified mean and covariance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeLikelihoodP()
Computes the likelihood of the random draw
|
void |
next(DenseMatrix64F x)
Makes a draw on the distribution.
|
public CovarianceRandomDraw(Random rand, DenseMatrix64F cov)
rand - Used to create the random numbers for the draw. Reference is saved.cov - The covariance of the stribution. Not modified.public void next(DenseMatrix64F x)
public double computeLikelihoodP()
Copyright © 2013. All Rights Reserved.