Function

NumCosmoMathsf_sbessel_taylor

Declaration [src]

void
ncm_sf_sbessel_taylor (
  gulong l,
  gdouble x,
  gdouble* djl
)

Description [src]

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).$$.

Parameters

l

Type: gulong

Spherical Bessel order $\ell$.

x

Type: gdouble

Spherical Bessel argument $x$.

djl

Type: An array of gdouble

Output power series coefficients.

The argument will be set by the function.
The array must have 4 elements.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.