Module rgsl::bessel

source ·

Functions

This routine computes the regular modified cylindrical Bessel function of zeroth order, I_0(x)
This routine computes the regular modified cylindrical Bessel function of zeroth order, I_0(x)
This routine computes the scaled regular modified cylindrical Bessel function of zeroth order \exp(-|x|) I_0(x).
This routine computes the scaled regular modified cylindrical Bessel function of zeroth order \exp(-|x|) I_0(x).
This routine computes the regular modified cylindrical Bessel function of first order, I_1(x).
This routine computes the regular modified cylindrical Bessel function of first order, I_1(x).
This routine computes the scaled regular modified cylindrical Bessel function of first order \exp(-|x|) I_1(x).
This routine computes the scaled regular modified cylindrical Bessel function of first order \exp(-|x|) I_1(x).
This routine computes the regular modified cylindrical Bessel function of order n, I_n(x).
This routine computes the values of the regular modified cylindrical Bessel functions I_n(x) for n from nmin to nmax inclusive, storing the results in the array result_array. The start of the range nmin must be positive or zero. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the regular modified cylindrical Bessel function of order n, I_n(x).
This routine computes the scaled regular modified cylindrical Bessel function of order n, \exp(-|x|) I_n(x)
This routine computes the values of the scaled regular cylindrical Bessel functions \exp(-|x|) I_n(x) for n from nmin to nmax inclusive, storing the results in the array result_array. The start of the range nmin must be positive or zero. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the scaled regular modified cylindrical Bessel function of order n, \exp(-|x|) I_n(x)
This routine computes the regular modified Bessel function of fractional order \nu, I_\nu(x) for x>0, \nu>0.
This routine computes the regular modified Bessel function of fractional order \nu, I_\nu(x) for x>0, \nu>0.
This routine computes the scaled regular modified Bessel function of fractional order \nu, \exp(-|x|)I_\nu(x) for x>0, \nu>0.
This routine computes the scaled regular modified Bessel function of fractional order \nu, \exp(-|x|)I_\nu(x) for x>0, \nu>0.
This routine computes the regular cylindrical Bessel function of zeroth order, J_0(x).
This routine computes the regular cylindrical Bessel function of zeroth order, J_0(x).
This routine computes the regular cylindrical Bessel function of first order, J_1(x).
This routine computes the regular cylindrical Bessel function of first order, J_1(x).
This routine computes the regular cylindrical Bessel function of order n, J_n(x).
This routine computes the values of the regular cylindrical Bessel functions J_n(x) for n from nmin to nmax inclusive, storing the results in the array result_array. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the regular cylindrical Bessel function of order n, J_n(x).
This routine computes the regular cylindrical Bessel function of fractional order \nu, J_\nu(x).
This routine computes the regular cylindrical Bessel function of fractional order \nu, J_\nu(x).
This routine computes the irregular modified cylindrical Bessel function of zeroth order, K_0(x), for x > 0.
This routine computes the irregular modified cylindrical Bessel function of zeroth order, K_0(x), for x > 0.
This routine computes the scaled irregular modified cylindrical Bessel function of zeroth order \exp(x) K_0(x) for x>0.
This routine computes the scaled irregular modified cylindrical Bessel function of zeroth order \exp(x) K_0(x) for x>0.
This routine computes the irregular modified cylindrical Bessel function of first order, K_1(x), for x > 0.
This routine computes the irregular modified cylindrical Bessel function of first order, K_1(x), for x > 0.
This routine computes the scaled irregular modified cylindrical Bessel function of first order \exp(x) K_1(x) for x>0.
This routine computes the scaled irregular modified cylindrical Bessel function of first order \exp(x) K_1(x) for x>0.
This routine computes the irregular modified cylindrical Bessel function of order n, K_n(x), for x > 0.
This routine computes the values of the irregular modified cylindrical Bessel functions K_n(x) for n from nmin to nmax inclusive, storing the results in the array result_array. The start of the range nmin must be positive or zero. The domain of the function is x>0. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the irregular modified cylindrical Bessel function of order n, K_n(x), for x > 0.
This routine computes the scaled irregular modified cylindrical Bessel function of order n, \exp(x) K_n(x), for x>0.
This routine computes the values of the scaled irregular cylindrical Bessel functions \exp(x) K_n(x) for n from nmin to nmax inclusive, storing the results in the array result_array. The start of the range nmin must be positive or zero. The domain of the function is x>0. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the scaled irregular modified cylindrical Bessel function of order n, \exp(x) K_n(x), for x>0.
This routine computes the irregular modified Bessel function of fractional order \nu, K_\nu(x) for x>0, \nu>0.
This routine computes the irregular modified Bessel function of fractional order \nu, K_\nu(x) for x>0, \nu>0.
This routine computes the scaled irregular modified Bessel function of fractional order \nu, \exp(+|x|) K_\nu(x) for x>0, \nu>0.
This routine computes the scaled irregular modified Bessel function of fractional order \nu, \exp(+|x|) K_\nu(x) for x>0, \nu>0.
This routine computes the irregular cylindrical Bessel function of zeroth order, Y_0(x), for x>0.
This routine computes the irregular cylindrical Bessel function of zeroth order, Y_0(x), for x>0.
This routine computes the irregular cylindrical Bessel function of first order, Y_1(x), for x>0.
This routine computes the irregular cylindrical Bessel function of first order, Y_1(x), for x>0.
This routine computes the irregular cylindrical Bessel function of order n, Y_n(x), for x>0.
This routine computes the values of the irregular cylindrical Bessel functions Y_n(x) for n from nmin to nmax inclusive, storing the results in the array result_array. The domain of the function is x>0. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the irregular cylindrical Bessel function of order n, Y_n(x), for x>0.
This routine computes the irregular cylindrical Bessel function of fractional order \nu, Y_\nu(x).
This routine computes the irregular cylindrical Bessel function of fractional order \nu, Y_\nu(x).
This routine computes the scaled regular modified spherical Bessel function of zeroth order, \exp(-|x|) i_0(x).
This routine computes the scaled regular modified spherical Bessel function of zeroth order, \exp(-|x|) i_0(x).
This routine computes the scaled regular modified spherical Bessel function of first order, \exp(-|x|) i_1(x).
This routine computes the scaled regular modified spherical Bessel function of first order, \exp(-|x|) i_1(x).
This routine computes the scaled regular modified spherical Bessel function of second order, \exp(-|x|) i_2(x)
This routine computes the scaled regular modified spherical Bessel function of second order, \exp(-|x|) i_2(x)
This routine computes the scaled regular modified spherical Bessel function of order l, \exp(-|x|) i_l(x)
This routine computes the values of the scaled regular modified cylindrical Bessel functions \exp(-|x|) i_l(x) for l from 0 to lmax inclusive for lmax >= 0, storing the results in the array result_array. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the scaled regular modified spherical Bessel function of order l, \exp(-|x|) i_l(x)
This routine computes the regular spherical Bessel function of zeroth order, j_0(x) = \sin(x)/x.
This routine computes the regular spherical Bessel function of zeroth order, j_0(x) = \sin(x)/x.
This routine computes the regular spherical Bessel function of first order, j_1(x) = (\sin(x)/x - \cos(x))/x.
This routine computes the regular spherical Bessel function of first order, j_1(x) = (\sin(x)/x - \cos(x))/x.
This routine computes the regular spherical Bessel function of second order, j_2(x) = ((3/x^2 - 1)\sin(x) - 3\cos(x)/x)/x.
This routine computes the regular spherical Bessel function of second order, j_2(x) = ((3/x^2 - 1)\sin(x) - 3\cos(x)/x)/x.
This routine computes the regular spherical Bessel function of order l, j_l(x), for l >= 0 and x >= 0.
This routine computes the values of the regular spherical Bessel functions j_l(x) for l from 0 to lmax inclusive for lmax >= 0 and x >= 0, storing the results in the array result_array. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the regular spherical Bessel function of order l, j_l(x), for l >= 0 and x >= 0.
This routine uses Steed’s method to compute the values of the regular spherical Bessel functions j_l(x) for l from 0 to lmax inclusive for lmax >= 0 and x >= 0, storing the results in the array result_array. The Steed/Barnett algorithm is described in Comp. Phys. Comm. 21, 297 (1981). Steed’s method is more stable than the recurrence used in the other functions but is also slower.
The irregular modified spherical Bessel functions k_l(x) are related to the irregular modified Bessel functions of fractional order, k_l(x) = \sqrt{\pi/(2x)} K_{l+1/2}(x). This routine computes the scaled irregular modified spherical Bessel function of zeroth order, \exp(x) k_0(x), for x>0.
The irregular modified spherical Bessel functions k_l(x) are related to the irregular modified Bessel functions of fractional order, k_l(x) = \sqrt{\pi/(2x)} K_{l+1/2}(x). This routine computes the scaled irregular modified spherical Bessel function of zeroth order, \exp(x) k_0(x), for x>0.
This routine computes the scaled irregular modified spherical Bessel function of first order, \exp(x) k_1(x), for x>0.
This routine computes the scaled irregular modified spherical Bessel function of first order, \exp(x) k_1(x), for x>0.
This routine computes the scaled irregular modified spherical Bessel function of second order, \exp(x) k_2(x), for x>0.
This routine computes the scaled irregular modified spherical Bessel function of second order, \exp(x) k_2(x), for x>0.
This routine computes the scaled irregular modified spherical Bessel function of order l, \exp(x) k_l(x), for x>0.
This routine computes the values of the scaled irregular modified spherical Bessel functions \exp(x) k_l(x) for l from 0 to lmax inclusive for lmax >= 0 and x>0, storing the results in the array result_array. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the scaled irregular modified spherical Bessel function of order l, \exp(x) k_l(x), for x>0.
This routine computes the logarithm of the irregular modified Bessel function of fractional order \nu, \ln(K_\nu(x)) for x>0, \nu>0.
This routine computes the logarithm of the irregular modified Bessel function of fractional order \nu, \ln(K_\nu(x)) for x>0, \nu>0.
This function computes the regular cylindrical Bessel function of fractional order \nu, J_\nu(x), evaluated at a series of x values. The array v of length size contains the x values. They are assumed to be strictly ordered and positive. The array is over-written with the values of J_\nu(x_i).
This routine computes the irregular spherical Bessel function of zeroth order, y_0(x) = -\cos(x)/x.
This routine computes the irregular spherical Bessel function of zeroth order, y_0(x) = -\cos(x)/x.
This routine computes the irregular spherical Bessel function of first order, y_1(x) = -(\cos(x)/x + \sin(x))/x.
This routine computes the irregular spherical Bessel function of first order, y_1(x) = -(\cos(x)/x + \sin(x))/x.
This routine computes the irregular spherical Bessel function of second order, y_2(x) = (-3/x^3 + 1/x)\cos(x) - (3/x^2)\sin(x).
This routine computes the irregular spherical Bessel function of second order, y_2(x) = (-3/x^3 + 1/x)\cos(x) - (3/x^2)\sin(x).
This routine computes the irregular spherical Bessel function of order l, y_l(x), for l >= 0.
This routine computes the values of the irregular spherical Bessel functions y_l(x) for l from 0 to lmax inclusive for lmax >= 0, storing the results in the array result_array. The values are computed using recurrence relations for efficiency, and therefore may differ slightly from the exact values.
This routine computes the irregular spherical Bessel function of order l, y_l(x), for l >= 0.
This routine computes the location of the s-th positive zero of the Bessel function J_0(x).
This routine computes the location of the s-th positive zero of the Bessel function J_0(x).
This routine computes the location of the s-th positive zero of the Bessel function J_1(x).
This routine computes the location of the s-th positive zero of the Bessel function J_1(x).
This routine computes the location of the s-th positive zero of the Bessel function J_\nu(x). The current implementation does not support negative values of nu.
This routine computes the location of the s-th positive zero of the Bessel function J_\nu(x). The current implementation does not support negative values of nu.