Element-wise absolute value. You can also use abs().
Usage
nv_abs(x)
# S3 method for class 'AnvlArray'
abs(x)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.