Class RealCovarianceMatrix

java.lang.Object
edu.cmu.tetrad.stat.correlation.RealCovarianceMatrix
All Implemented Interfaces:
RealCovariance

public class RealCovarianceMatrix extends Object implements RealCovariance
Jan 27, 2016 5:35:01 PM
Version:
$Id: $Id
Author:
Kevin V. Bui (kvb2@pitt.edu)
  • Constructor Details

    • RealCovarianceMatrix

      public RealCovarianceMatrix(double[][] data)

      Constructor for RealCovarianceMatrix.

      Parameters:
      data - an array of double objects
  • Method Details

    • computeLowerTriangle

      public double[] computeLowerTriangle(boolean biasCorrected)

      computeLowerTriangle.

      Specified by:
      computeLowerTriangle in interface RealCovariance
      Parameters:
      biasCorrected - a boolean
      Returns:
      an array of double objects
    • compute

      public double[][] compute(boolean biasCorrected)

      compute.

      Specified by:
      compute in interface RealCovariance
      Parameters:
      biasCorrected - a boolean
      Returns:
      an array of double objects