Constructor

NumCosmoDataBaoEmpiricalFitnew_from_id

Declaration [src]

NcDataBaoEmpiricalFit*
nc_data_bao_empirical_fit_new_from_id (
  NcDistance* dist,
  NcDataBaoId id
)

Description [src]

Creates a new NcDataBaoEmpiricalFit from id.

Parameters

dist

Type: NcDistance

A NcDistance.

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

Type: NcDataBaoId

A NcDataBaoId.

Return value

Type: NcDataBaoEmpiricalFit

The newly created NcDataBaoEmpiricalFit.

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