Computes the exponential integral.
Namespace: Meta.Numerics.FunctionsAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
| C# | Visual Basic | Visual C++ | F# |
Return Value
The value of En(x).
Remarks
The exponential integral is defined as:

It is related to the incomplete Gamma function for negative, integer shape parameters by Γ(-k, x) = Eik+1(x) / xk.
In hydrology, E1(x) is sometimes called the Well function.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | x is negative. |