Back to Numerical Arrays (NumPy)
np.logical_not
Compute the truth value of NOT x element-wise.
Syntax
np.logical_not(x)
Description
Compute the truth value of NOT x element-wise.
Parameters
| Name | Description |
|---|---|
| x | NDArray |
Returns
NDArray