Method

NumCosmoMathSFSBesselArrayeval

Declaration [src]

void
ncm_sf_sbessel_array_eval (
  NcmSFSBesselArray* sba,
  guint ell,
  gdouble x,
  gdouble* jl_x
)

Description [src]

Computes spherical Bessel functions j_l(x) for l = 0 to min(ell, lmax, cutoff(x)) using the Steed/Barnett algorithm with automatic cutoff for numerical stability. Values beyond the cutoff are set to zero.

This method is not directly available to language bindings.

Parameters

ell

Type: guint

Maximum l value to compute (must be <= lmax).

x

Type: gdouble

Argument value.

jl_x

Type: gdouble*

Output array of size (ell+1) for j_l(x) values.

The data is owned by the caller of the method.