Constructor

NumCosmoMathSBesselIntegratorLevinnew_full

Declaration [src]

NcmSBesselIntegratorLevin*
ncm_sbessel_integrator_levin_new_full (
  guint ell_min,
  guint ell_max,
  gdouble y_knots_min,
  gdouble y_knots_max,
  guint n_knots,
  guint ell_cache_max,
  gdouble reltol,
  guint cheb_min_order,
  gdouble cheb_reltol
)

Description [src]

Creates a new NcmSBesselIntegratorLevin with optional knots-based paneling. To disable knots-based paneling and use single panel mode, set y_knots_min, y_knots_max, or n_knots to 0.

The ell_cache_max parameter controls the maximum ell value for which spherical Bessel functions will be precomputed at all knots. For ell values beyond this, spherical Bessel functions will be computed on-the-fly during integration.

Parameters

ell_min

Type: guint

Minimum multipole.

ell_max

Type: guint

Maximum multipole.

y_knots_min

Type: gdouble

Minimum value for knots in log-spaced grid (set to 0 to disable knots-based paneling).

y_knots_max

Type: gdouble

Maximum value for knots in log-spaced grid (set to 0 to disable knots-based paneling).

n_knots

Type: guint

Number of knots in the log-spaced grid (set to 0 to disable knots-based paneling).

ell_cache_max

Type: guint

Maximum ell value for precomputed spherical Bessel functions at knots.

reltol

Type: gdouble

Relative tolerance for integration.

cheb_min_order

Type: guint

Minimum order of Chebyshev decomposition for RHS computation.

cheb_reltol

Type: gdouble

Relative tolerance for Chebyshev decomposition of integrand.

Return value

Type: NcmSBesselIntegratorLevin

A new NcmSBesselIntegratorLevin.

The caller of the function takes ownership of the data, and is responsible for freeing it.