NcmMpsfSBessel

NcmMpsfSBessel — Multiple precision spherical bessel implementation.

Functions

Types and Values

Description

Implementation of multiple precision spherical Bessel functions using the GNU MPFR library. This module utilizes binary splitting to compute the functions, employing both the Taylor series and asymptotic expansion methods. It ensures high precision, making it suitable for accurate computations in scenarios involving spherical Bessel functions.

Functions

ncm_mpsf_sbessel ()

void
ncm_mpsf_sbessel (gulong l,
                  mpq_t q,
                  mpfr_ptr res,
                  mp_rnd_t rnd);

Computes the Spherical Bessel function $j_\ell(x)$.

[skip]

Parameters

l

$\ell$ Spherical Bessel $j_\ell$ parameters as a rational number $\ell = q_\ell$

 

q

argument as a rational number $x = q_x$

 

res

mpfr variable containing the result $j_\ell(x)$

 

rnd

mpfr rounding mode

 

ncm_mpsf_sbessel_d ()

void
ncm_mpsf_sbessel_d (gulong l,
                    gdouble x,
                    mpfr_ptr res,
                    mp_rnd_t rnd);

Computes the Spherical Bessel function $j_\ell(x)$.

[skip]

Parameters

l

$\ell$ Spherical Bessel $j_\ell$ parameters

 

x

function argument $x$

 

res

mpfr variable containing the result $j_\ell(x)$

 

rnd

mpfr rounding mode

 

ncm_mpsf_sbessel_free_cache ()

void
ncm_mpsf_sbessel_free_cache (void);

Frees all buffers created to compute ncm_mpsf_sbessel functions.

Types and Values

struct NcmMpsfSBesselRecur

struct NcmMpsfSBesselRecur {
};

FIXME