logicalNot#
Fully qualified name: isaacsim::common::array::logicalNot
-
Array isaacsim::common::array::logicalNot(const Array &a)#
Computes the element-wise truth value of
NOT x.Accepts operands of any dtype: an element is treated as
truewhen it is non-zero (soNaNistrue), and the result is always a boolean Array with the operand’s shape and device. Use it to invert a mask without first casting it tobool.- Parameters:
a – [in] Operand.
- Returns:
A new boolean Array holding the element-wise logical negation.