Skip to main content

NDArray::radians

public static function radians(NDArray|array|float|int $array): NDArray|float|int;

Converts the element-wise angle from degrees to radians, returning a new array with the angles converted to radians.


Notes

tip

GPU SUPPORTED

This operation is supported by GPU (VRAM) and contains a custom CUDA kernel.