Class
NumCosmoMathSBesselIntegratorGL
Description [src]
final class NumCosmoMath.SBesselIntegratorGL : NumCosmoMath.SBesselIntegrator
{
/* No available fields */
}
Gauss-Legendre based spherical Bessel function integrator.
This class implements integration of functions multiplied by spherical Bessel functions using Gauss-Legendre quadrature.
Functions
ncm_sbessel_integrator_gl_clear
If sbigl is different from NULL, decreases the reference count of
sbigl by one and sets sbigl to NULL.
Instance methods
ncm_sbessel_integrator_gl_set_margin
Sets the safety margin beyond the turning point for the non-oscillatory region.
ncm_sbessel_integrator_gl_set_nosc
Sets the number of oscillations per panel width in the oscillatory region.
ncm_sbessel_integrator_gl_set_npts
Sets the number of Gauss-Legendre quadrature points used in the oscillatory region. This will reallocate the GL table if the value changes.
Methods inherited from NcmSBesselIntegrator (10)
ncm_sbessel_integrator_free
Decreases the reference count of sbi by one.
ncm_sbessel_integrator_get_ell_range
Gets the multipole range.
ncm_sbessel_integrator_integrate
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).
ncm_sbessel_integrator_integrate_ell
Integrates the function F(x, k) multiplied by the spherical Bessel function
$j_\ell(kx)$ from a to b for a single multipole.
Computes: $\int_a^b K(x,k) j_\ell(kx) dx$.
ncm_sbessel_integrator_integrate_gaussian
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).
ncm_sbessel_integrator_integrate_gaussian_ell
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.
ncm_sbessel_integrator_integrate_rational
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).
ncm_sbessel_integrator_integrate_rational_ell
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.
ncm_sbessel_integrator_ref
Increases the reference count of sbi by one.
ncm_sbessel_integrator_set_ell_range
Sets the multipole range for integration. If the range has changed from the previous call, subclasses may perform preparation work (e.g., allocating operators for the new range). The default implementation simply updates ell_min and ell_max properties.
Properties
NumCosmoMath.SBesselIntegratorGL:margin
Safety margin beyond turning point for non-oscillatory region.
NumCosmoMath.SBesselIntegratorGL:npts
Number of points for Gauss-Legendre quadrature in oscillatory region.
Properties inherited from NcmSBesselIntegrator (1)
NumCosmoMath.SBesselIntegrator:ell-range
Multipole range [ell_min, ell_max]. Both values must be non-negative integers with ell_min <= ell_max.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.