XLPack 6.1
Julia API Reference Manual
Loading...
Searching...
No Matches

◆ ei()

function ei ( x::Real  )

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
Float64
Exponential integral Ei(x).
Parameters
[in]xArgument 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