Herror ::tuple_atan2 (
    const HTuple &Y,
    const HTuple &X,
    double *ATan
)
Herror ::tuple_atan2 (
    const HTuple &Y,
    const HTuple &X,
    HTuple *ATan
)

Compute the arctangent of a tuple for all four quadrants.

::tuple_atan2 computes the arctangent of the input tuples Y/X while treating all four quadrants correctly. The arctangent is always returned as a floating point number. The arctangent of a string is not allowed.


Parameters

Y (input_control)
number(-array) -> HTuple.double / long
Input tuple of the y-values.

X (input_control)
number(-array) -> HTuple.double / long
Input tuple of the x-values.

ATan (output_control)
number(-array) -> (HTuple.) double *
Arctangent of the input tuple.


Alternatives

::tuple_atan, ::tuple_asin, ::tuple_acos


See also

::tuple_tan


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH