Constructor

NumCosmoMathIntegral1dPtrnew

Declaration [src]

NcmIntegral1dPtr*
ncm_integral1d_ptr_new (
  NcmIntegral1dPtrF F,
  GDestroyNotify userfree
)

Description [src]

Creates a new NcmIntegral1dPtr object for the integrand F.

Parameters

F

Type: NcmIntegral1dPtrF

A NcmIntegral1dPtrF.

userfree

Type: GDestroyNotify

GDestroyNotify.

Return value

Type: NcmIntegral1dPtr

The new NcmIntegral1dPtr object.

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