jax.numpy.signbit

jax.numpy.signbit(x)[source]

Returns element-wise True where signbit is set (less than zero).

LAX-backend implementation of signbit().

Original docstring below.

Parameters

x (array_like) – The input value(s).

Returns

result – Output array, or reference to out if that was supplied. This is a scalar if x is a scalar.

Return type

ndarray of bool