Method
NumCosmoMathSBesselIntegratorintegrate_rational
Declaration [src]
void
ncm_sbessel_integrator_integrate_rational (
NcmSBesselIntegrator* sbi,
gdouble center,
gdouble std,
gdouble a,
gdouble b,
gdouble k,
NcmVector* result
)
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 all
multipoles from ell_min to ell_max. The results are stored in result, which must have
length (ell_max - ell_min + 1).
This is a convenience function optimized for testing against truth tables, avoiding the overhead of Python callbacks.
Parameters
center-
Type:
gdoubleCenter of the rational function.
std-
Type:
gdoubleStandard deviation parameter.
a-
Type:
gdoubleLower integration limit.
b-
Type:
gdoubleUpper integration limit.
k-
Type:
gdoubleWave number parameter.
result-
Type:
NcmVectorA
NcmVectorto store results.The data is owned by the caller of the method.