jax.numpy.angle
Warning
This page was created from a pull request (#9655).
jax.numpy.angleΒΆ
- jax.numpy.angle(z, deg=False)[source]ΒΆ
Return the angle of the complex argument.
LAX-backend implementation of
angle()
.Original docstring below.
- Parameters
z (array_like) β A complex number or sequence of complex numbers.
deg (bool, optional) β Return angle in degrees if True, radians if False (default).
- Returns
angle β The counterclockwise angle from the positive real axis on the complex plane in the range
(-pi, pi]
, with dtype as numpy.float64.Changed in version 1.16.0: This function works on subclasses of ndarray like ma.array.
- Return type
ndarray or scalar