mlx.core.degrees

Contents

mlx.core.degrees#

degrees(a: array, /, *, stream: None | Stream | Device = None) array#

Convert angles from radians to degrees.

Parameters:

a (array) – Input array.

Returns:

The angles in degrees.

Return type:

array