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

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