Function

NumCosmoMathintegral_cached_x_inf

Declaration [src]

gint
ncm_integral_cached_x_inf (
  NcmFunctionCache* cache,
  gint* F,
  gdouble x,
  gdouble* result,
  gdouble* error
)

Description [src]

This function searchs for the nearest x_near value previously chosed as the lower integration limit and perform the integration at $[x, x_{near}]$ interval. This result is summed to that obtained at $[x_{near}, \infty]$ and then it is saved in the cache.

This function is not directly available to language bindings.

Parameters

cache

Type: NcmFunctionCache

A pointer to NcmFunctionCache.

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

Type: gint*

A gsl_function wich is the integrand.

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

Type: gdouble

Lower integration limit.

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_qagiu.