public class CovarianceRandomDraw_DDRM
extends java.lang.Object
Constructor and Description |
---|
CovarianceRandomDraw_DDRM(java.util.Random rand,
org.ejml.data.DMatrixRMaj 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(org.ejml.data.DMatrixRMaj x)
Makes a draw on the distribution.
|
public CovarianceRandomDraw_DDRM(java.util.Random rand, org.ejml.data.DMatrixRMaj cov)
rand
- Used to create the random numbers for the draw. Reference is saved.cov
- The covariance of the distribution. Not modified.