dpnp.arcsin

dpnp.arcsin(x, /, out=None, *, order='K', where=True, dtype=None, subok=True, **kwargs)[source]

Inverse sine, element-wise.

For full documentation refer to numpy.arcsin.

Returns:

out – The inverse sine of each element of x.

Return type:

dpnp.ndarray

Limitations

Parameter x is only supported as either dpnp.ndarray or dpctl.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.sin

Trigonometric sine, element-wise.

dpnp.arctan

Trigonometric inverse tangent, element-wise.

dpnp.arccos

Trigonometric inverse cosine, element-wise.

dpnp.arcsinh

Hyperbolic inverse sine, element-wise.

Examples

>>> import dpnp as np
>>> x = np.array([0, 1, -1])
>>> np.arcsin(x)
array([0.0, 1.5707963267948966, -1.5707963267948966])