Name
tuple_negtuple_negTupleNegtuple_negTupleNegTupleNeg — Negate a tuple.
Herror tuple_neg(double T, double* Neg)
Herror T_tuple_neg(const Htuple T, Htuple* Neg)
Herror tuple_neg(const HTuple& T, double* Neg)
Herror tuple_neg(const HTuple& T, HTuple* Neg)
tuple_negtuple_negTupleNegtuple_negTupleNegTupleNeg computes the negation of the input tuple
TTTTTt, i.e., NegNegNegNegNegneg = -TTTTTt. 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_negTupleNegtuple_negTupleNegTupleNeg,
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.
TTTTTt (input_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Input tuple.
NegNegNegNegNegneg (output_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Negation of the input tuple.
Foundation