Name
tuple_negtuple_negTupleNegTupleNeg — Negate a tuple.
Herror tuple_neg(double T, double* Neg)
Herror T_tuple_neg(const Htuple T, Htuple* Neg)
tuple_negtuple_negTupleNegTupleNegTupleNeg computes the negation of the input tuple
TTTTt, i.e., NegNegNegNegneg = -TTTTt. The negation of an
integer number is again an integer number. The negation of a
floating point number is a floating point number. The negation 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_negtuple_negTupleNegTupleNegTupleNeg,
which can be used in an expression in the following syntax:
Neg := -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.
NegNegNegNegneg (output_control) number(-array) → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Negation of the input tuple.
Foundation