# iarray.arctan#

iarray.arctan(iarr: IArray)#

Trigonometric inverse tangent, element-wise.

The inverse of tan so that, if $$y = \tan(x)$$, then $$x = \arctan(y)$$.

Parameters

iarr(self) (IArray container) – Input array.

Returns

angle – A lazy expression that must be evaluated via out.eval(), which will compute the angles in radians, in the range $$\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$$.

Return type

iarray.Expr

Notes

arctan is a multi-valued function: for each x there are infinitely many numbers $$z$$ such that $$\tan(z) = x$$. The convention is to return the angle $$z$$ whose real part lies in $$\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$$.

References

np.arctan