Convert angles from degrees to radians.
LAX-backend implementation of numpy.deg2rad()
.
Original docstring below.
- Parameters:
x (array_like) – Angles in degrees.
- Returns:
y – The corresponding angle in radians.
This is a scalar if x is a scalar.
- Return type:
ndarray