Method

NumCosmoMathSBesselIntegratorintegrate_rational_ell

Declaration [src]

gdouble
ncm_sbessel_integrator_integrate_rational_ell (
  NcmSBesselIntegrator* sbi,
  gdouble center,
  gdouble std,
  gdouble a,
  gdouble b,
  gdouble k,
  gint ell
)

Description [src]

Integrates a rational function $\frac{x^2}{(1+((x - center)/std)^2)^3}$ multiplied by the spherical Bessel function $j_\ell(kx)$ from a to b for a single multipole.

This is a convenience function optimized for testing against truth tables, avoiding the overhead of Python callbacks.

Parameters

center

Type: gdouble

Center of the rational function.

std

Type: gdouble

Standard deviation parameter.

a

Type: gdouble

Lower integration limit.

b

Type: gdouble

Upper integration limit.

k

Type: gdouble

Wave number parameter.

ell

Type: gint

Multipole.

Return value

Type: gdouble

The integral value.