Constructor

NumCosmoDataBaoEmpiricalFit2dnew_from_id

Declaration [src]

NcDataBaoEmpiricalFit2d*
nc_data_bao_empirical_fit_2d_new_from_id (
  NcDistance* dist,
  NcDataBaoId id
)

Description [src]

Creates a new NcDataBaoEmpiricalFit2d 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: NcDataBaoEmpiricalFit2d

The newly created NcDataBaoEmpiricalFit2d.

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