Package edu.cmu.tetrad.stat.correlation
Class CovarianceMatrix
java.lang.Object
edu.cmu.tetrad.stat.correlation.CovarianceMatrix
- All Implemented Interfaces:
Covariance
Jan 25, 2016 2:13:26 PM
- Version:
- $Id: $Id
- Author:
- Kevin V. Bui (kvb2@pitt.edu)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[][]compute(boolean biasCorrected) compute.float[]computeLowerTriangle(boolean biasCorrected) computeLowerTriangle.
-
Constructor Details
-
CovarianceMatrix
public CovarianceMatrix(float[][] data) Constructor for CovarianceMatrix.
- Parameters:
data- an array of objects
-
-
Method Details
-
computeLowerTriangle
public float[] computeLowerTriangle(boolean biasCorrected) computeLowerTriangle.
- Specified by:
computeLowerTrianglein interfaceCovariance- Parameters:
biasCorrected- a boolean- Returns:
- an array of objects
-
compute
public float[][] compute(boolean biasCorrected) compute.
- Specified by:
computein interfaceCovariance- Parameters:
biasCorrected- a boolean- Returns:
- an array of objects
-