A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.jax.dev/en/latest/_autosummary/jax.numpy.i0.html below:

jax.numpy.i0 — JAX documentation

jax.numpy.i0#
jax.numpy.i0(x)[source]#

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

Parameters:

x (ArrayLike) – scalar or array. Specifies the argument of Bessel function. Complex inputs are not supported.

Returns:

An array containing the corresponding values of the modified Bessel function of x.

Return type:

Array

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