pub fn scaled_exp1(x: f64) -> f64Expand description
Scaled version of the exponential integral $E_1$ for real input
There exists no corresponding function in scipy.special.
§Definition
This function computes $F(x)$, where $F$ is the factor remaining in $E_1(x)$ when $e^{-x}/x$ is factored out. That is:
$$ E_1(x) = x^{-1} e^{-x} F(x) $$
or
$$ F(x) = x e^{x} E_1(x) $$
The function is defined for real $x \geq 0$. For $x < 0$, NaN is returned.
$F$ has the properties:
- $F(0) = 0$
- $F(x)$ is increasing on $[0, \infty)$.
- $F(x) = 1$ in the limit as $x \to \infty$.