The atan native AI script function returns the arctangent of the input value.
(y: f)atan(x: f)
(y)atan(x);
This example code calculates the arctangent of the value x
and stores the result in y
.
The arctangent function returns the angle whose tangent is the input value. The result is expressed in radians.