atan

ivy.atan(x, f=None)[source]

Computes trigonometric inverse tangent, element-wise. The inverse of tan, so that if y = tan(x) then x = arctan(y).

Parameters
  • x (array) – Input array.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

Out has the same shape as x. Its real part is in [-pi/2, pi/2] (arctan(+/-inf) returns +/-pi/2).


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty