Top |
gdouble | ncm_sf_sbessel () |
void | ncm_sf_sbessel_taylor () |
NcmSpline * | ncm_sf_sbessel_spline () |
Implementation of double precision spherical Bessel functions. This module leverages the multiple precision spherical Bessel functions implementation for precise computations. It involves converting the arguments to multiple precision, performing the calculations, and then converting the results back to double precision, ensuring accuracy in the computation of spherical Bessel functions with the convenience of double precision output.
gdouble ncm_sf_sbessel (gulong l
,gdouble x
);
Computes Spherical Bessel function $j_\ell(x)$.
void ncm_sf_sbessel_taylor (gulong l
,gdouble x
,gdouble *djl
);
Computes Spherical Bessel function power series coefficients up to order three, i.e., $$\left(j_\ell(x),\; j'_\ell(x), \frac{j''_\ell(x)}{2!}, \frac{j'''_\ell(x)}{3!}\right).$$
NcmSpline * ncm_sf_sbessel_spline (gulong l
,gdouble xi
,gdouble xf
,gdouble reltol
);
Computes a spline approximation of the Spherical Bessel $j_\ell$ in the interval $[x_i, x_f]$.