Name
tuple_abstuple_absTupleAbsTupleAbs — Compute the absolute value of a tuple.
Herror tuple_abs(double T, double* Abs)
Herror T_tuple_abs(const Htuple T, Htuple* Abs)
tuple_abstuple_absTupleAbsTupleAbsTupleAbs computes the absolute value of the input tuple
TTTTt. The absolute value of an integer number is again an
integer number. The absolute value of a floating point number is a
floating point number. The absolute value 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_abstuple_absTupleAbsTupleAbsTupleAbs,
which can be used in an expression in the following syntax:
Abs := abs(T)
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
TTTTt (input_control) number(-array) → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
AbsAbsAbsAbsabs (output_control) number(-array) → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Absolute value of the input tuple.
tuple_fabstuple_fabsTupleFabsTupleFabsTupleFabs
Foundation