Method

NumCosmoMathIntegral1deval

Declaration [src]

gdouble
ncm_integral1d_eval (
  NcmIntegral1d* int1d,
  const gdouble xi,
  const gdouble xf,
  gdouble* err
)

Description [src]

Evaluated the integral $I_F(x_i, x_f) = \int_{x_i}^{x_f}F(x)\mathrm{d}x$.

Parameters

xi

Type: const gdouble

Inferior integration limit $x_i$.

xf

Type: const gdouble

Superior integration limit $x_f$.

err

Type: gdouble*

The error in the integration.

The argument will be set by the function.

Return value

Type: gdouble

The value of the integral $I_F(x_i, x_f)$.