qat.core.variables.atan2

qat.core.variables.atan2(x, y)

Arc tangent function from the library math of \(y/x\), in radians, where \(x\) and \(y\) are the coordinates of the point \((x, y)\).

from qat.core.variables import atan2

print(atan2(0, -5))
3.141592653589793
Parameters
Returns

arc tangent value in radians (between \(-\pi\) and \(\pi\))

Return type

ArithExpression or number