jax.scipy.special.expn#
- jax.scipy.special.expn(n, x) = <jax._src.custom_derivatives.custom_jvp object>[source]#
Generalized exponential integral En.
LAX-backend implementation of
scipy.special.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
- 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