public static radians<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<Double>
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>([0.0, 180.0]) print(Math.radians(values))