In mathematics, Lentz's algorithm is an algorithm to evaluate continued fractions, and was originally devised to compute tables of spherical Bessel functions.[2]
The version usually employed now is due to Thompson and Barnett.