dpnp.arctanh
- dpnp.arctanh(x, /, out=None, *, order='K', where=True, dtype=None, subok=True, **kwargs)[source]
Hyperbolic inverse tangent, element-wise.
For full documentation refer to
numpy.arctanh.- Returns:
out – The hyperbolic 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 DPNP Data types.See also
dpnp.tanhHyperbolic tangent, element-wise.
dpnp.arcsinhHyperbolic inverse sine, element-wise.
dpnp.arccoshHyperbolic inverse cosine, element-wise.
dpnp.arctanTrigonometric inverse tangent, element-wise.
Examples
>>> import dpnp as np >>> x = np.array([0, -0.5]) >>> np.arctanh(x) array([0.0, -0.54930614])