Method

NumCosmoMathMatrixcov_dup_cor

Declaration [src]

NcmMatrix*
ncm_matrix_cov_dup_cor (
  const NcmMatrix* cov
)

Description [src]

Convert a covariance matrix cov to a newly allocated correlation matrix.

Return value

Type: NcmMatrix

The newly allocated correlation matrix.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.