Class
NumCosmoMathSFSBesselArray
Description [src]
final class NumCosmoMath.SFSBesselArray : GObject.Object
{
/* No available fields */
}
Spherical Bessel function array evaluator with automatic cutoff.
Evaluates $j_\ell(x)$ in double precision for every order from zero up to a requested maximum in a single call. The method depends on the argument: the first two terms of the Taylor series for $x$ near zero, upward recurrence when $x$ exceeds the highest order requested, and the Steed/Barnett continued fraction followed by downward recurrence otherwise [Comp. Phys. Comm. 21, 297 (1981)].
Orders whose value would fall below NcmSFSBesselArray:threshold are not computed and
are returned as zero. The argument at which each order crosses the threshold is
tabulated at construction from Debye’s asymptotic form. Negative arguments use
$j_\ell(-x) = (-1)^\ell j_\ell(x)$.
This object does not use the multiple precision implementation. For a single $j_\ell(x)$ computed without cancellation error, use ncm_sf_sbessel().
Constructors
ncm_sf_sbessel_array_new
Creates a new NcmSFSBesselArray with the default NcmSFSBesselArray:lmax and
NcmSFSBesselArray:threshold.
Functions
ncm_sf_sbessel_array_clear
If sba is not NULL, decreases its reference count by one and sets sba to NULL.
Instance methods
ncm_sf_sbessel_array_eval
Fills jl_x with $j_l(x)$ for $l = 0, \dots,$ ell, which must not exceed
NcmSFSBesselArray:lmax. Orders above ncm_sf_sbessel_array_eval_ell_cutoff() are set
to zero.
ncm_sf_sbessel_array_eval1
Same as ncm_sf_sbessel_array_eval(), returning the values in a new array.
ncm_sf_sbessel_array_ref_table
Table of $j_\ell(x_i)$ with one row per abscissa of x and one column per $\ell$ from 0
to ell_max, so row $i$ holds that abscissa’s multipoles in order and is contiguous.
Properties
NumCosmoMath.SFSBesselArray:lmax
Largest order the array evaluates. The cutoff table holds one entry per order up to it.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.