Function

NumCosmoMathsf_sbessel_spline

Declaration [src]

NcmSpline*
ncm_sf_sbessel_spline (
  gulong l,
  gdouble xi,
  gdouble xf,
  gdouble reltol
)

Description [src]

Computes a spline approximation of the Spherical Bessel $j_\ell$ in the interval $[x_i, x_f]$.

Parameters

l

Type: gulong

Spherical Bessel order $\ell$.

xi

Type: gdouble

Spherical Bessel interval lower-bound $x_i$.

xf

Type: gdouble

Spherical Bessel interval lower-bound $x_f$.

reltol

Type: gdouble

Interpolation error tolerance.

Return value

Type: NcmSpline

A NcmSpline with the Spherical Bessel approximation.

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