Method

NumCosmoMathSFSBesselArrayeval1

Declaration [src]

GArray*
ncm_sf_sbessel_array_eval1 (
  NcmSFSBesselArray* sba,
  guint ell,
  gdouble x
)

Description [src]

Convenience wrapper around ncm_sf_sbessel_array_eval that returns results in a new GArray. The GArray is allocated with the appropriate size and contains the j_l(x) values for l = 0 to min(ell, lmax, cutoff(x)). Values beyond the cutoff are set to zero.

Parameters

ell

Type: guint

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

x

Type: gdouble

Argument value.

Return value

Type: An array of double

A new GArray containing j_l(x) values for l = 0 to min(ell, lmax, cutoff(x)).

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