Constructor

NumCosmoMathIntegral1dPtrnew_full

Declaration [src]

NcmIntegral1dPtr*
ncm_integral1d_ptr_new_full (
  NcmIntegral1dPtrF F,
  GDestroyNotify userfree,
  const gdouble reltol,
  const gdouble abstol,
  const guint partition,
  const guint rule
)

Description [src]

Creates a new NcmIntegral1dPtr object for the integrand F.

Parameters

F

Type: NcmIntegral1dPtrF

A NcmIntegral1dPtrF.

userfree

Type: GDestroyNotify

GDestroyNotify.

reltol

Type: const gdouble

The relative tolerance.

abstol

Type: const gdouble

The absolute tolerance.

partition

Type: const guint

The maximum subdivisions.

rule

Type: const guint

Integration rule to use in each subinterval.

Return value

Type: NcmIntegral1dPtr

The new NcmIntegral1dPtr object.

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