Name
tuple_divtuple_divTupleDivtuple_divTupleDivTupleDiv — Divide two tuples.
Herror tuple_div(double Q1, double Q2, double* Quot)
Herror T_tuple_div(const Htuple Q1, const Htuple Q2, Htuple* Quot)
Herror tuple_div(const HTuple& Q1, const HTuple& Q2, double* Quot)
Herror tuple_div(const HTuple& Q1, const HTuple& Q2, HTuple* Quot)
void TupleDiv(const HTuple& Q1, const HTuple& Q2, HTuple* Quot)
HTuple HTuple::TupleDiv(const HTuple& Q2) const
tuple_divtuple_divTupleDivtuple_divTupleDivTupleDiv computes the quotient of the input tuples
Q1Q1Q1Q1Q1q1 and Q2Q2Q2Q2Q2q2. If both tuples have the same length
the corresponding elements of both tuples are divided. Otherwise,
either Q1Q1Q1Q1Q1q1 or Q2Q2Q2Q2Q2q2 must have length 1. In this case,
the division is performed for each element of the longer tuple with
the single element of the other tuple. If two integer numbers are
divided, the result is again an integer number. If one of the
operands is a floating point number, the result is a floating point
number. The division of strings is not allowed.
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Q1Q1Q1Q1Q1q1 (input_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Input tuple 1.
Q2Q2Q2Q2Q2q2 (input_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Input tuple 2.
Restriction: Q2 != 0
QuotQuotQuotQuotQuotquot (output_control) number(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Quotient of the input tuples.
tuple_multtuple_multTupleMulttuple_multTupleMultTupleMult
Foundation