Package org.drip.measure.gaussian
Class Covariance
java.lang.Object
org.drip.measure.gaussian.Covariance
public class Covariance
extends java.lang.Object
Covariance holds the Standard Covariance Matrix, and provides functions to manipulate it.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd Continuous/Discrete Probability Measures
- Package = R1 Rd Covariant Gaussian Quadrature
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Covariance(double[][] aadblCovariance)
Covariance Constructor -
Method Summary
Modifier and Type Method Description double[][]
correlationMatrix()
Retrieve the Correlation Matrixdouble[][]
covarianceMatrix()
Retrieve the Covariance Matrixint
numVariate()
Retrieve the Number of Variatesdouble[][]
precisionMatrix()
Retrieve the Precision Matrixdouble[]
variance()
Retrieve the Variance Arraydouble[]
volatility()
Retrieve the Volatility ArrayMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Covariance
public Covariance(double[][] aadblCovariance) throws java.lang.ExceptionCovariance Constructor- Parameters:
aadblCovariance
- Double Array of the Covariance Matrix- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
numVariate
public int numVariate()Retrieve the Number of Variates- Returns:
- The Number of Variates
-
covarianceMatrix
public double[][] covarianceMatrix()Retrieve the Covariance Matrix- Returns:
- The Covariance Matrix
-
precisionMatrix
public double[][] precisionMatrix()Retrieve the Precision Matrix- Returns:
- The Precision Matrix
-
variance
public double[] variance()Retrieve the Variance Array- Returns:
- The Variance Array
-
volatility
public double[] volatility()Retrieve the Volatility Array- Returns:
- The Volatility Array
-
correlationMatrix
public double[][] correlationMatrix()Retrieve the Correlation Matrix- Returns:
- The Correlation Matrix
-