Package edu.cmu.tetrad.stat.correlation
Class RealCovarianceMatrixForkJoin
java.lang.Object
edu.cmu.tetrad.stat.correlation.RealCovarianceMatrixForkJoin
- All Implemented Interfaces:
RealCovariance
Jan 27, 2016 5:37:40 PM
- Version:
- $Id: $Id
- Author:
- Kevin V. Bui (kvb2@pitt.edu)
-
Constructor Summary
ConstructorsConstructorDescriptionRealCovarianceMatrixForkJoin
(double[][] data, int numOfThreads) Constructor for RealCovarianceMatrixForkJoin. -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
compute
(boolean biasCorrected) compute.double[]
computeLowerTriangle
(boolean biasCorrected) computeLowerTriangle.
-
Constructor Details
-
RealCovarianceMatrixForkJoin
public RealCovarianceMatrixForkJoin(double[][] data, int numOfThreads) Constructor for RealCovarianceMatrixForkJoin.
- Parameters:
data
- an array of objectsnumOfThreads
- a int
-
-
Method Details
-
computeLowerTriangle
public double[] computeLowerTriangle(boolean biasCorrected) computeLowerTriangle.
- Specified by:
computeLowerTriangle
in interfaceRealCovariance
- Parameters:
biasCorrected
- a boolean- Returns:
- an array of objects
-
compute
public double[][] compute(boolean biasCorrected) compute.
- Specified by:
compute
in interfaceRealCovariance
- Parameters:
biasCorrected
- a boolean- Returns:
- an array of objects
-