public static double IntegralEi(
double x
)Public Shared Function IntegralEi (
x As Double
) As Doublepublic:
static double IntegralEi(
double x
)static member IntegralEi :
x : float -> float The function Ei(x) appears in the evaluation of some indefinite integrals involving exponents and in number theory in the approximation li(x) = Ei(ln x) to the cumulative distribution of primes.
Ei(x) is related to the real part of E1(x) for negative arguments by:

To compute Ei(z) in the entire complex plane, use Ein(Complex).
| ArgumentOutOfRangeException | x is negative. |