Name
tuple_fabstuple_fabsTupleFabsTupleFabs — Compute the absolute value of a tuple (as floating point numbers).
Herror tuple_fabs(double T, double* Abs)
Herror T_tuple_fabs(const Htuple T, Htuple* Abs)
tuple_fabstuple_fabsTupleFabsTupleFabsTupleFabs computes the absolute value of the input tuple
TTTTt. In contrast to tuple_abstuple_absTupleAbsTupleAbsTupleAbs, the absolute value is
always returned as a floating point number by tuple_fabstuple_fabsTupleFabsTupleFabsTupleFabs.
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_fabstuple_fabsTupleFabsTupleFabsTupleFabs,
which can be used in an expression in the following syntax:
Abs := fabs(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.
Absolute value of the input tuple.
tuple_abstuple_absTupleAbsTupleAbsTupleAbs
Foundation