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