Function

NumCosmoGalaxyRedshiftFactorIntegrandnew

Declaration [src]

NcGalaxyRedshiftFactorIntegrand*
nc_galaxy_redshift_factor_integrand_new (
  NcGalaxyRedshiftFactorIntegrandFunc func,
  NcGalaxyRedshiftFactorIntegrandFreeData callback_data_free,
  NcGalaxyRedshiftFactorIntegrandCopyData callback_data_copy,
  NcGalaxyRedshiftFactorIntegrandPrepareData callback_data_prepare,
  gpointer callback_data
)

Description [src]

Creates a new integrand for the galaxy redshift data. The integrand takes the true redshift z and the per-galaxy data and returns the joint density (or its natural logarithm) at z.

This function is not directly available to language bindings.

Parameters

func

Type: NcGalaxyRedshiftFactorIntegrandFunc

A NcGalaxyRedshiftFactorIntegrandFunc.

callback_data_free

Type: NcGalaxyRedshiftFactorIntegrandFreeData

A NcGalaxyRedshiftFactorIntegrandFreeData.

callback_data_copy

Type: NcGalaxyRedshiftFactorIntegrandCopyData

A NcGalaxyRedshiftFactorIntegrandCopyData.

callback_data_prepare

Type: NcGalaxyRedshiftFactorIntegrandPrepareData

A NcGalaxyRedshiftFactorIntegrandPrepareData.

callback_data

Type: gpointer

A gpointer.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: NcGalaxyRedshiftFactorIntegrand

A new NcGalaxyRedshiftFactorIntegrand object.

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