jax.scipy.special.expn

Warning

This page was created from a pull request (#9655).

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.\]
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