public static abs<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<NUMBER_TYPE>:
Returns the element-wise absolute value of an array.
This overload delegates to the native vectorized NDArray kernel.
import klyn.math values = NDArray<Int>.fromList([-3, 1, -4]) print(Math.abs(values))