Function navtk::calc_cov

Function Documentation

Matrix navtk::calc_cov(const Matrix &matrix)

Calculate the covariance of a NxK matrix, where K is the number of samples and N the number of states.

Parameters

matrix – A square matrix (NxN).

Returns

Covariance.