absolute#
Fully qualified name: isaacsim::common::array::absolute
-
Array isaacsim::common::array::absolute(const Array &a)#
Computes the element-wise absolute value.
The result keeps the operand’s dtype, shape, and device. The operation is the identity for unsigned and boolean operands. The absolute value of the minimum value of a signed integer type overflows and reproduces that value.
- Parameters:
a – [in] Operand.
- Returns:
A new Array holding the element-wise absolute value.