tuple_sgn🔗
Short description🔗
tuple_sgn — Calculate the sign of a tuple.
Signature🔗
tuple_sgn( number T, out number Sgn )
Description🔗
tuple_sgn calculates the sign of the elements of the
input tuple T and returns them as integer numbers
(-1,0,1) in the output tuple Sgn.
The calculation of the sign of a string is not allowed.
Exception: Empty input tuple🔗
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation🔗
HDevelop provides an in-line operation for tuple_sgn,
which can be used in an expression in the following syntax:
Sgn := sgn(T)
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🔗
T (input_control) number(-array) → (real / integer)
Input tuple.
Sgn (output_control) number(-array) → (integer)
Signs of the input tuple as integer numbers.
Module🔗
Foundation