Options
All
  • Public
  • Public/Protected
  • All
Menu

Covariance decomposition into correlation and variances

Extracts the correlation matrix and the vector of variances out of the input covariance matrix.

Note that only the lower symmetric part of the covariance matrix is used.

The covariance matrix must be symmetric.

test

cross checked with getCovariance

Hierarchy

  • CovarianceDecomposition

Index

Constructors

constructor

Properties

Private _correlationMatrix

_correlationMatrix: Matrix

Private _stdDevs

_stdDevs: Real[]

Private _variances

_variances: Real[]

Methods

correlationMatrix

  • Returns Matrix

standardDeviations

  • standardDeviations(): Real[]
  • Returns Real[]

variances

  • variances(): Real[]
  • Returns Real[]