Skip to main content
Ctrl+K

jax.lax.neg#

jax.lax.neg(x)[source]#

Elementwise negation: \(-x\).

Parameters:

x (Union[Array, ndarray, bool_, number, bool, int, float, complex]) –

Return type:

Array

previous

jax.lax.ne

next

jax.lax.nextafter