mlx.core.arctan2

Contents

mlx.core.arctan2#

arctan2(a: array, b: array, /, *, stream: None | Stream | Device = None) array#

Element-wise inverse tangent of the ratio of two arrays.

Parameters:
  • a (array) – Input array.

  • b (array) – Input array.

Returns:

The inverse tangent of the ratio of a and b.

Return type:

array