public final class GPCorrelationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BLK
Blank character
|
static int |
COR_SIZE
Size of the covariance/correlation matrix
|
Modifier and Type | Method and Description |
---|---|
static fr.cnes.sirius.patrius.math.linear.RealMatrix |
corToCov(fr.cnes.sirius.patrius.math.linear.RealVector sigma,
fr.cnes.sirius.patrius.math.linear.RealMatrix cor)
Method to convert correlation matrix and sigma vector in covariance matrix
|
static fr.cnes.sirius.patrius.math.linear.RealMatrix |
covToPseudoCor(fr.cnes.sirius.patrius.math.linear.RealMatrix cov)
Method to convert covariance matrix to pseudo-correlation matrix
|
static fr.cnes.sirius.patrius.math.linear.RealMatrix |
pseudoCorToCov(fr.cnes.sirius.patrius.math.linear.RealMatrix cor)
Method to convert pseudo-correlation matrix in covariance matrix
|
static fr.cnes.sirius.patrius.math.linear.RealMatrix |
triangularToMatrix(double[][] triangularData)
Method to get a RealMatrix thanks to a triangular table one.
|
public static final int COR_SIZE
public static final String BLK
public static fr.cnes.sirius.patrius.math.linear.RealMatrix triangularToMatrix(double[][] triangularData)
triangularData
- matrix data as a triangular tablepublic static fr.cnes.sirius.patrius.math.linear.RealMatrix pseudoCorToCov(fr.cnes.sirius.patrius.math.linear.RealMatrix cor) throws GPCorrelationException
cor
- pseudo-correlation matrixGPCorrelationException
- Correlation matrix not square and/or not symmetricpublic static fr.cnes.sirius.patrius.math.linear.RealMatrix corToCov(fr.cnes.sirius.patrius.math.linear.RealVector sigma, fr.cnes.sirius.patrius.math.linear.RealMatrix cor) throws GPCorrelationException
sigma
- sigma vectorcor
- pseudo-correlation matrixGPCorrelationException
- Correlation matrix not square and/or not symmetricpublic static fr.cnes.sirius.patrius.math.linear.RealMatrix covToPseudoCor(fr.cnes.sirius.patrius.math.linear.RealMatrix cov) throws GPCorrelationException
cov
- covariance matrixGPCorrelationException
- Covariance matrix not square and/or not symmetricCopyright © 2023. All rights reserved.