A Robust Approximation to a Lambert-Type Function

preprint2015arXivOpen access

Abstract

The function y=g(x)=log(W(ex))y = g(x) = \mathrm{log}\big(W(e^x)\big), where W()W() denotes the Lambert W function, is the solution to the equation y+ey=xy + e^y = x. It appears in various problem situations, for instance the calculation of current-voltage curves for solar cells. A direct calculation of g(x)g(x) may be inaccurate because of arithmetic underflow or overflow. We present a simple algorithm for calculating g(x)g(x) that is robust, in that it will work for almost all xx 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.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.