XLPack
7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches
C5. Exponential and logarithmic integrals
e1
ei
en
li
spence
◆
ei()
double ei
(
double
x
)
Exponential integral Ei(x)
Purpose
ei computes the exponential integral Ei(x) for the argument x.
Ei(x) = -∫ exp(-t)/t dt [-x, ∞] = -E1(-x)
Returns
Exponential integral Ei(x).
Parameters
[in]
x
Argument x. (x != 0)
Error handling
If x = 0, -inf is returned and range error (ERANGE) occurs.
Other range error (ERANGE) may occur.
Reference
boost/math/special_functions
Generated by
1.9.7