dpnp.arctan

dpnp.arctan(x1, out=None, **kwargs)[source]

Trigonometric inverse tangent, element-wise.

For full documentation refer to numpy.arctan.

Limitations

Input array is supported as dpnp.ndarray. Keyword arguments kwargs are currently unsupported. Input array data types are limited by supported DPNP Data types.

See also

dpnp.arctan2

Element-wise arc tangent of x1/x2 choosing the quadrant correctly.

dpnp.angle

Argument of complex values.

Examples

>>> import dpnp as np
>>> x = np.array([0, 1])
>>> out = np.arctan(x)
>>> [i for i in out]
[0.0, 0.78539816]