Method
NumCosmoMathSBesselIntegratorintegrate_gaussian
Declaration [src]
void
ncm_sbessel_integrator_integrate_gaussian (
NcmSBesselIntegrator* sbi,
gdouble center,
gdouble std,
gdouble a,
gdouble b,
gdouble k,
NcmVector* result
)
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 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 Gaussian.
std-
Type:
gdoubleStandard deviation of the Gaussian.
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.