spycial.en

spycial.en = <numba._DUFunc 'en'>

Generalized exponential integral \(E_n(x)\).

For integer \(n \geq 0\) and real \(x \geq 0\) the generalized exponential integral can be defined as [1]

\[E_n(x) = x^{n - 1} \int_x^\infty \frac{e^{-t}}{t^n} dt.\]
Parameters:
  • n (array-like) – Non-negative integers
  • x (array-like) – Points on the real line
Returns:

Values of en at n and x.

Return type:

ndarray

See also

e1
Special case of \(E_n\) for \(n = 1\)

References

[1]Digital Library of Mathematical Functions, 8.19.2 https://dlmf.nist.gov/8.19#E2