Method

NumCosmoSNIADistCovcalc

Declaration [src]

gboolean
nc_snia_dist_cov_calc (
  NcSNIADistCov* dcov,
  NcDataSNIACov* snia_cov,
  NcmMatrix* cov
)

Description [src]

Computes the covariance matrix for the SN Ia distance estimates. If the covariance matrix is already computed and the parameters are the same, the function returns FALSE.

Parameters

snia_cov

Type: NcDataSNIACov

A NcDataSNIACov.

The data is owned by the caller of the method.
cov

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the method.

Return value

Type: gboolean

Whether the covariance was computed.