ATan2

Stores the arctangent of the rhs/lhs src in answer.

Inputs

lhs
A value table representing a x-coordinate.
rhs
A value table representing a y-coordinate.
format
deg (default) or rad.

Outputs

answer
A value table.

Comments

  • lhs, rhs, and answer must be of the same binding and format.
  • If lhs and rhs are both constant value table (created by the Constant operator), no records will be added to the answer table.
  • lhs and rhs must be a real value tables.
  • If format is "rad" the values store in the answer table will be radians, otherwise the values will be in degrees.

Syntax

atan2(lhs,rhs)

XML Example

<call name="ATan2" lhs="x_tab" rhs="y_tab" answer="ans_tab" />