pymf.corr2cov

pymf.corr2cov(corr, var)

Converts a given correlation matrix into a covariance matrix

Parameters:
corr: 2D float array

Correlation matrix of n components

var: 1D float array

Variance of the n components

Returns:
corr: 2D float array

Covariance matrix