XLPack 6.0
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Ei()

Function Ei ( X As  Double,
Optional Info As  Long 
)

Exponential integral Ei(x)

Purpose
This routine computes the exponential integral Ei(x) for the argument x.
Ei(x) = -integral of exp(-t)/t dt [-x, inf] = -E1(-x)
Function E1(X As Double, Optional Info As Long) As Double
Exponential integral E1(x)
Function Ei(X As Double, Optional Info As Long) As Double
Exponential integral Ei(x)
Returns
Double
Exponential integral Ei(x).
Parameters
[in]XArgument x. (X <> 0)
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.
Reference
boost/math/special_functions