Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ atan2() [4/11]

template<typename T1 , typename T2 , require_all_arithmetic_t< T1, T2 > * = nullptr>
double stan::math::atan2 ( T1  y,
T2  x 
)

Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.

Template Parameters
T1type of first argument (must be arithmetic)
T2type of second argument (must be arithmetic)
Parameters
yfirst argument
xsecond argument
Returns
arctangent of y / x

Definition at line 23 of file atan2.hpp.