Constructor

NumCosmoSNIADistCovnew

Declaration [src]

NcSNIADistCov*
nc_snia_dist_cov_new (
  NcDistance* dist,
  guint sigma_int_len
)

Description [src]

Creates a new NcSNIADistCov object for Type Ia supernovae distance modulus with covariance matrix.

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.
sigma_int_len

Type: guint

Length of the sigma_int dataset.

Return value

Type: NcSNIADistCov

A newly created NcSNIADistCov.

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