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.vdot.html below:

jax.numpy.vdot — JAX documentation

jax.numpy.vdot#
jax.numpy.vdot(a, b, *, precision=None, preferred_element_type=None)[source]#

Perform a conjugate multiplication of two 1D vectors.

JAX implementation of numpy.vdot().

Parameters:
Returns:

Scalar array (shape ()) containing the conjugate vector product of the inputs.

Return type:

Array

Examples

>>> x = jnp.array([1j, 2j, 3j])
>>> y = jnp.array([1., 2., 3.])
>>> jnp.vdot(x, y)
Array(0.-14.j, dtype=complex64)

Note the difference between this and dot(), which does not conjugate the first input when complex:

>>> jnp.dot(x, y)
Array(0.+14.j, dtype=complex64)

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.3