Y = expint(X)
Y = expint(X) evaluates the exponential integral
for each element of X.
X in the range [-38,2], expint uses a series expansion representation (equation 5.1.10 in [1]):
For all other elements of X, expint uses a continued fraction representation (equation 5.1.22 in [1]):
(c) Copyright 1994 by The MathWorks, Inc.