klyn.math.Math.degrees
method
public static degrees<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<Double>:
Description
Converts the elements of an array from radians to degrees. This overload delegates to the native vectorized NDArray kernel.
import klyn.math

values = NDArray<Double>.fromList([0.0, Math.PI])
print(Math.degrees(values))