tuple_atan2🔗
Short description🔗
tuple_atan2 — Compute the arctangent of a tuple for all four quadrants.
Signature🔗
tuple_atan2( number Y, number X, out angle.rad ATan )
Description🔗
tuple_atan2 computes the arctangent of the input tuples
\(\textrm{Y}/\textrm{X}\) while treating all four quadrants
correctly. The arctangent is always returned as a floating point
number in ATan. The angles in ATan are represented in
radians. The arctangent of a string is not allowed.
Exception: Empty input tuples🔗
If either or both of the input tuples are empty, the operator returns an empty tuple.
HDevelop In-line Operation🔗
HDevelop provides an in-line operation for tuple_atan2,
which can be used in an expression in the following syntax:
ATan := atan2(Y, X)
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
Y (input_control) number(-array) → (real / integer)
Input tuple of the y-values.
X (input_control) number(-array) → (real / integer)
Input tuple of the x-values.
ATan (output_control) angle.rad(-array) → (real)
Arctangent of the input tuple.
Combinations with other operators🔗
Module🔗
Foundation