![]() |
Exponential integral Ei(x) is defined as a principal value of an integral

Exponential integral En(x) is defined as
![]()
ExponentialIntegralEI subroutine calculates Ei(x) using piecewise rational approximation. En(x) is calculated by using the ExponentialIntegralEN subroutine. This subroutine uses series expansion, continuous fraction approximation or asymptotic approximation depending on the values of x and n.
This article is intended for personal use only.
C# source.
C++ source.
C++ source. MPFR/GMP is used.
GMP source is available from gmplib.org. MPFR source is available from www.mpfr.org.
FreePascal version.
Delphi version.
VB.NET version.
VBA version.
Python version (CPython and IronPython are supported).
|
ALGLIB® - numerical analysis library, 1999-2012. |