pub fn expi<T: ExpIntArg>(z: T) -> TExpand description
Exponential integral $Ei$ for real or complex input
Corresponds to scipy.special.expi
§Definition
For real $x$, the exponential integral is defined as
$$ Ei(x) = \int_{-\infty}^x \frac{e^t}{t} \dd t $$
For $x > 0$ the integral is understood as a Cauchy principal value.
It is extended to the complex plane by analytic continuation of the function on the interval $(0, \infty)$. The complex variant has a branch cut on the negative real axis.