Method

NumCosmoMathIntegralFixedinteg_posdef_mult

Declaration [src]

gdouble
ncm_integral_fixed_integ_posdef_mult (
  NcmIntegralFixed* intf,
  gint* F,
  gdouble max,
  gdouble reltol
)

Description [src]

This function computes the integral of the function integ->f over the interval starting at max and going to the left using the nodes calculated by #ncm_integral_fixed_calc_nodes. It uses the Gauss-Legendre integration rule to determine the interval inner points. This function multiplies the integrand by the function F. It stops when the relative error is less than reltol.

This method is not directly available to language bindings.

Parameters

F

Type: gint*

A pointer to gsl_function.

The data is owned by the caller of the method.
max

Type: gdouble

Maximum value of the integration interval.

reltol

Type: gdouble

Relative tolerance.

Return value

Type: gdouble

The integral of the function integ->f times F over the interval [max, xf].