Function

NumCosmoXcorKernelIntegrandnew

Declaration [src]

NcXcorKernelIntegrand*
nc_xcor_kernel_integrand_new (
  guint len,
  NcXcorKernelIntegrandEval eval,
  NcXcorKernelIntegrandGetRange get_range,
  gpointer data,
  GDestroyNotify data_free
)

Description [src]

Creates a new NcXcorKernelIntegrand with reference count of 1.

Parameters

len

Type: guint

Number of components in the integrand.

eval

Type: NcXcorKernelIntegrandEval

Function to evaluate the integrand.

get_range

Type: NcXcorKernelIntegrandGetRange

Function to get the k range.

data

Type: gpointer

User data to pass to eval and get_range.

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

Type: GDestroyNotify

Function to free data.

Return value

Type: NcXcorKernelIntegrand

A new NcXcorKernelIntegrand.

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