Javatpoint Logo
Javatpoint Logo

Numpy arctan() method

This function is used to calculate the inverse tangent of the array elements.

Syntax

Parameters

  1. array: these are the array elements of which, the inverse tangent values are to be calculated.
  2. Out: It is the shape of the output array.

Return

It returns an array containing the inverse tangent values for all the array elements, x.

Example

Output:

Input array : 
 [0, 0.3, -1]

Inverse tan values : 
 [ 0.          0.29145679 -0.78539816]

Next TopicNumpy degrees()





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA