numpy.arctan()
numpy.arctan
-
numpy.arctan(x[, out]) =
-
Trigonometric inverse tangent, element-wise.
The inverse of tan, so that if
y = tan(x)
thenx = arctan(y)
.Parameters: x : array_like
Input values.
arctan
is applied to each element ofx
.Returns: out : ndarray
Out has the same shape as
x
. Its real part is in[-pi/2, pi/2]
(arctan(+/-inf)
returns+/-pi/2