Constructor

NumCosmoDataCMBDistPriorsnew_from_id

Declaration [src]

NcDataCMBDistPriors*
nc_data_cmb_dist_priors_new_from_id (
  NcDistance* dist,
  NcDataCMBId id
)

Description [src]

Creates a new NcDataCMBDistPriors from id. See NcDataCMBId for the available options.

Parameters

dist

Type: NcDistance

A NcDistance.

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

Type: NcDataCMBId

A NcDataCMBId.

Return value

Type: NcDataCMBDistPriors

A NcDataCMBDistPriors.

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