Function

NumCosmoMathintegral_locked_a_b

Declaration [src]

gint
ncm_integral_locked_a_b (
  gint* F,
  gdouble a,
  gdouble b,
  gdouble abstol,
  gdouble reltol,
  gdouble* result,
  gdouble* error
)

Description [src]

This function uses a workspace from the pool and gsl_integration_qag function to perform the numerical integration in the [a, b] interval.

This function is not directly available to language bindings.

Parameters

F

Type: gint*

A gsl_function wich is the integrand.

The data is owned by the caller of the function.
a

Type: gdouble

Lower integration limit.

b

Type: gdouble

Upper integration limit.

abstol

Type: gdouble

Absolute tolerance.

reltol

Type: gdouble

Relative tolerance.

result

Type: gdouble*

A pointer to a gdouble in which the function stores the result.

The data is owned by the caller of the function.
error

Type: gdouble*

A pointer to a gdouble in which the function stores the estimated error.

The data is owned by the caller of the function.

Return value

Type: gint

The error code returned by gsl_integration_qag.