dpnp.arctan
- dpnp.arctan(x, /, out=None, *, order='K', where=True, dtype=None, subok=True, **kwargs)[source]
Trigonometric inverse tangent, element-wise.
For full documentation refer to
numpy.arctan.- Returns:
out – The inverse tangent of each element of x.
- Return type:
dpnp.ndarray
Limitations
Parameter x is only supported as either
dpnp.ndarrayordpctl.tensor.usm_ndarray. Parameters where, dtype and subok are supported with their default values. Keyword argument kwargs is currently unsupported. Otherwise the function will be executed sequentially on CPU. Input array data types are limited by supported real-valued floating-point data type.See also
dpnp.arctan2Element-wise arc tangent of x1/x2 choosing the quadrant correctly.
dpnp.angleArgument of complex values.
dpnp.tanTrigonometric tangent, element-wise.
dpnp.arcsinTrigonometric inverse sine, element-wise.
dpnp.arccosTrigonometric inverse cosine, element-wise.
dpnp.arctanhInverse hyperbolic tangent, element-wise.
Examples
>>> import dpnp as np >>> x = np.array([0, 1]) >>> np.arctan(x) array([0.0, 0.78539816])