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: NcGalaxySDObsRedshiftIntegrandFunc

A NcGalaxySDObsRedshiftIntegrandFunc.

callback_data_free

Type: NcGalaxySDObsRedshiftIntegrandFreeData

A NcGalaxySDObsRedshiftIntegrandFreeData.

callback_data_copy

Type: NcGalaxySDObsRedshiftIntegrandCopyData

A NcGalaxySDObsRedshiftIntegrandCopyData.

callback_data_prepare

Type: NcGalaxySDObsRedshiftIntegrandPrepareData

A NcGalaxySDObsRedshiftIntegrandPrepareData.

callback_data

Type: gpointer

A 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.