Method

NumCosmoMathSBesselIntegratorintegrate_ell

Declaration [src]

gdouble
ncm_sbessel_integrator_integrate_ell (
  NcmSBesselIntegrator* sbi,
  NcmSBesselIntegratorF F,
  gdouble a,
  gdouble b,
  gdouble k,
  gint ell,
  gpointer user_data
)

Description [src]

Integrates the function F(x, k) multiplied by the spherical Bessel function $j_\ell(kx)$ from a to b for a single multipole. Computes: $\int_a^b K(x,k) j_\ell(kx) dx$.

Parameters

F

Type: NcmSBesselIntegratorF

Function to integrate.

a

Type: gdouble

Lower integration limit.

b

Type: gdouble

Upper integration limit.

k

Type: gdouble

Wave number parameter.

ell

Type: gint

Multipole.

user_data

Type: gpointer

User data passed to F.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: gdouble

The integral value.