An algorithm and a MATLAB implementation for computing the Kummer function U(a,b,x) and its derivative is given in this paper. The algorithm is efficient and accurate. Numerical tests show that the MATLAB algorithm allows the computation of the function with ∼ 1 0 − 14 relative accuracy in the parameter region (a,b,x) ∈ (0,500) × (0,500) × (0,1000) in double-precision floating point arithmetic.

, ,
Numerical Algorithms
Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands

Gil, A, Ruiz-Antolin, D, Segura, J, & Temme, N.M. (2023). Computation of the confluent hypergeometric function U(a,b,x) and its derivative for positive arguments. Numerical Algorithms. doi:10.1007/s11075-023-01515-y