Function
NumCosmoGalaxySDObsRedshiftIntegrandnew
Declaration [src]
NcGalaxySDObsRedshiftIntegrand*
nc_galaxy_sd_obs_redshift_integrand_new (
NcGalaxySDObsRedshiftIntegrandFunc func,
NcGalaxySDObsRedshiftIntegrandFreeData callback_data_free,
NcGalaxySDObsRedshiftIntegrandCopyData callback_data_copy,
NcGalaxySDObsRedshiftIntegrandPrepareData callback_data_prepare,
gpointer callback_data
)
Description [src]
Creates a new integrand for the galaxy redshift data.
The integrand is a function that takes the redshift z and the galaxy redshift data data as arguments.
The function should return the integrand value at z.
Parameters
func-
Type:
NcGalaxySDObsRedshiftIntegrandFuncA
NcGalaxySDObsRedshiftIntegrandFunc. callback_data_free-
Type:
NcGalaxySDObsRedshiftIntegrandFreeDataA
NcGalaxySDObsRedshiftIntegrandFreeData. callback_data_copy-
Type:
NcGalaxySDObsRedshiftIntegrandCopyDataA
NcGalaxySDObsRedshiftIntegrandCopyData. callback_data_prepare-
Type:
NcGalaxySDObsRedshiftIntegrandPrepareDataA
NcGalaxySDObsRedshiftIntegrandPrepareData. callback_data-
Type:
gpointerA gpointer.
The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: NcGalaxySDObsRedshiftIntegrand
A new NcGalaxySDObsRedshiftIntegrand object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |