paper

A Robust Approximation to a Lambert-Type Function

arXiv:1504.01964

Abstract

The function , where denotes the Lambert W function, is the solution to the equation . It appears in various problem situations, for instance the calculation of current-voltage curves for solar cells. A direct calculation of may be inaccurate because of arithmetic underflow or overflow. We present a simple algorithm for calculating that is robust, in that it will work for almost all values which are representable in the arithmetic of one's chosen computer language. The algorithm does not assume that the chosen computer language implements the Lambert W function.