Method

NumCosmoMathSBesselIntegratorintegrate_gaussian_ell

Declaration [src]

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

Description [src]

Integrates a Gaussian function $\exp(-\frac{1}{2}(\frac{x - center}{std})^2)$ 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 Gaussian.

std

Type: gdouble

Standard deviation of the Gaussian.

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.