Skip to main content

NDArray::degrees

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

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


Notes

tip

GPU SUPPORTED

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