In mathematics, '''Lentz's algorithm''' is an [[algorithm]] to evaluate [[generalized continued fraction|continued fraction]]s and compute tables of spherical [[Bessel function]]s.<ref name=":0">{{Cite journalreport|last=Lentz|first=W. J.|date=September 1973-09-01|title=A Method of Computing Spherical Bessel Functions of Complex Argument with Tables|url=httphttps://dxapps.doidtic.orgmil/10.21236sti/ad0767223pdfs/AD0767223.pdf|publisher=Atmospheric Sciences Laboratory, US Army Electronics Command|___location=FortWhite BelvoirSands Missile Range, VANew Mexico|doitype=10.21236/ad0767223Research and Development Technical Report ECOM-5509 }}</ref><ref>{{cite book|title=Numerical ReceipesRecipes in C++| page 177-179 ISBNpages=177–179|isbn= 0 521 75033 4.}}</ref>
The version usually employed now is due to Thompson and Barnett.<ref name=":1" />