jax.scipy.special.expnΒΆ

jax.scipy.special.expn = <jax._src.custom_derivatives.custom_jvp object>[source]ΒΆ

Generalized exponential integral En.

LAX-backend implementation of expn().

Original docstring below.

For integer \(n \geq 0\) and real \(x \geq 0\) the generalized exponential integral is defined as [dlmf]

\[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) – Real argument

  • out (ndarray, optional) – Optional output array for the function results

Returns

Values of the generalized exponential integral

Return type

scalar or ndarray

References

dlmf

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