Element-wise absolute value. You can also use abs().
Arguments
- x
(
arrayish)
One input. Can be any signed numeric data type. An R value materializes at its default data type.
Value
(arrayish)
Has the input's shape and data type.
See also
prim_abs() for the underlying primitive.