MathMiscellaneousNDArray::absOn this pageNDArray::abspublic static function abs(NDArray|array|float|int $array): NDArray|float|int;Computes the element-wise absolute value of an array, returning a new array with non-negative elements.NotestipGPU SUPPORTEDThis operation is supported by GPU (VRAM) and contains a custom CUDA kernel.