Module special_functions

Module special_functions 

Source
Expand description

Special functions implementation ported from C++ libsparseir

This module provides high-precision implementations of special functions used in the SparseIR library, particularly spherical Bessel functions and related mathematical functions.

Functionsยง

cyl_bessel_j
Cylindrical Bessel function of the first kind, J_nu(x)
gamma_func
High-precision Gamma function approximation (for real x)
spherical_bessel_j
Main function to calculate spherical Bessel function of the first kind