jax.numpy.arccos#
- jax.numpy.arccos(x, /)#
Trigonometric inverse cosine, element-wise.
LAX-backend implementation of
numpy.arccos()
.Original docstring below.
The inverse of cos so that, if
y = cos(x)
, thenx = arccos(y)
.- Parameters:
x (array_like) – x-coordinate on the unit circle. For real arguments, the domain is [-1, 1].
- Returns:
angle – The angle of the ray intersecting the unit circle at the given x-coordinate in radians [0, pi]. This is a scalar if x is a scalar.
- Return type:
ndarray
References
M. Abramowitz and I.A. Stegun, “Handbook of Mathematical Functions”, 10th printing, 1964, pp. 79. https://personal.math.ubc.ca/~cbm/aands/page_79.htm