Virtual Method
NumCosmoMathSBesselIntegratorintegrate
Declaration [src]
void
integrate (
NcmSBesselIntegrator* sbi,
NcmSBesselIntegratorF F,
gdouble a,
gdouble b,
gdouble k,
NcmVector* result,
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 all multipoles from ell_min to ell_max.
Computes: $\int_a^b K(x,k) j_\ell(kx) dx$ for each $\ell$.
The results are stored in result, which must have length (ell_max - ell_min + 1).
Parameters
F-
Type:
NcmSBesselIntegratorFFunction to integrate.
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. user_data-
Type:
gpointerUser data passed to
F.The argument can be NULL.The data is owned by the caller of the method.