Class
NumCosmoMathSFSBesselArray
Description [src]
final class NumCosmoMath.SFSBesselArray : GObject.Object
{
/* No available fields */
}
Spherical Bessel function array evaluator with automatic cutoff.
This object efficiently evaluates spherical Bessel functions j_l(x) for multiple l values using the Steed/Barnett algorithm. It includes automatic cutoff logic to prevent numerical instability for high l values where j_l(x) becomes negligibly small.
Constructors
ncm_sf_sbessel_array_new
Creates a new NcmSFSBesselArray for computing spherical Bessel functions up to l =
10000 with automatic cutoff at 1e-100.
ncm_sf_sbessel_array_new_full
Creates a new NcmSFSBesselArray for computing spherical Bessel functions
up to l = lmax with automatic cutoff at threshold.
Functions
ncm_sf_sbessel_array_clear
If sba is different from NULL, decreases the reference count of
sba by one and sets sba to NULL.
Instance methods
ncm_sf_sbessel_array_eval
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.
ncm_sf_sbessel_array_eval1
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.
ncm_sf_sbessel_array_eval_ell_cutoff
Determines the maximum l value for which j_l(x) is above the threshold. For l values above this cutoff, j_l(x) is negligibly small and set to zero.
Properties
NumCosmoMath.SFSBesselArray:lmax
Maximum l value for which the array can compute spherical Bessel functions. This value is relevant to automatic cutoff logic.
NumCosmoMath.SFSBesselArray:threshold
Threshold value below which j_l(x) is considered negligible and set to zero.
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.