expint
- :
y =expint(x)¶ Exponential integral E_1(x) = integral from x to infinity of exp(-t)/t dt, for real or complex x, on the principal branch (cut along the negative real axis, continuous from above for the sign of the imaginary part of the input).
Negative real arguments give complex results. The evaluation uses the power series for small arguments, a continued fraction for moderate ones and the asymptotic series for large ones.