Calculate modified Bessel function of first kind, zeroth order.
JAX implementation of numpy.i0()
.
Modified Bessel function of first kind, zeroth order is defined by:
\[\mathrm{i0}(x) = I_0(x) = \sum_{k=0}^{\infty} \frac{(x^2/4)^k}{(k!)^2}\]
x (ArrayLike) – scalar or array. Specifies the argument of Bessel function. Complex inputs are not supported.
An array containing the corresponding values of the modified Bessel function of x
.
Examples
>>> x = jnp.array([-2, -1, 0, 1, 2]) >>> jnp.i0(x) Array([2.2795851, 1.266066 , 1.0000001, 1.266066 , 2.2795851], dtype=float32)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4