public class CovarianceOps_FDRM
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
TOL |
| Constructor and Description |
|---|
CovarianceOps_FDRM() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
invert(org.ejml.data.FMatrixRMaj cov)
Performs a matrix inversion operations that takes advantage of the special
properties of a covariance matrix.
|
static boolean |
invert(org.ejml.data.FMatrixRMaj cov,
org.ejml.data.FMatrixRMaj cov_inv)
Performs a matrix inversion operations that takes advantage of the special
properties of a covariance matrix.
|
static int |
isValid(org.ejml.data.FMatrixRMaj cov)
Performs a variety of tests to see if the provided matrix is a valid
covariance matrix.
|
static boolean |
isValidFast(org.ejml.data.FMatrixRMaj cov)
This is a fairly light weight check to see of a covariance matrix is valid.
|
static void |
randomVector(org.ejml.data.FMatrixRMaj cov,
org.ejml.data.FMatrixRMaj vector,
java.util.Random rand)
Sets vector to a random value based upon a zero-mean multivariate Gaussian distribution with
covariance 'cov'.
|
public static boolean isValidFast(org.ejml.data.FMatrixRMaj cov)
public static int isValid(org.ejml.data.FMatrixRMaj cov)
public static boolean invert(org.ejml.data.FMatrixRMaj cov)
cov - On input it is a covariance matrix, on output it is the inverse. Modified.public static boolean invert(org.ejml.data.FMatrixRMaj cov,
org.ejml.data.FMatrixRMaj cov_inv)
cov - A covariance matrix. Not modified.cov_inv - The inverse of cov. Modified.public static void randomVector(org.ejml.data.FMatrixRMaj cov,
org.ejml.data.FMatrixRMaj vector,
java.util.Random rand)
CovarianceRandomDraw_FDRM instead.cov - The distirbutions covariance. Not modified.vector - The random vector. Modified.rand - Random number generator.