Name
tuple_bandtuple_bandTupleBandtuple_bandTupleBandTupleBand — Berechnen des bitweisen Und zweier Tupel.
Herror tuple_band(const Hlong T1, const Hlong T2, Hlong* BAnd)
Herror T_tuple_band(const Htuple T1, const Htuple T2, Htuple* BAnd)
Herror tuple_band(const HTuple& T1, const HTuple& T2, Hlong* BAnd)
Herror tuple_band(const HTuple& T1, const HTuple& T2, HTuple* BAnd)
void TupleBand(const HTuple& T1, const HTuple& T2, HTuple* BAnd)
HTuple HTuple::TupleBand(const HTuple& T2) const
tuple_bandtuple_bandTupleBandtuple_bandTupleBandTupleBand berechnet das bitweise Und der Eingabetupel
T1T1T1T1T1t1 und T2T2T2T2T2t2. Falls beide Tupel dieselbe Länge
haben, werden die entsprechenden Elemente der beiden Tupel
veknüpft. Ansonsten muss entweder T1T1T1T1T1t1 oder T2T2T2T2T2t2 die
Länge 1 haben. In diesem Fall wird die Operation für jedes
Element des längeren Tupels mit dem einzigen Element des anderen
Tupels ausgeführt. Die Eingabezahlen müssen ganze Zahlen sein.
Sonderfall: Leere Eingabetupel
Falls eines oder beide der Eingabetupel leer sind, gibt der Operator ein
leeres Tupel zurück.
HDevelop Inline-Operation
HDevelop unterstützt eine Inline-Operation für tuple_bandtuple_bandTupleBandtuple_bandTupleBandTupleBand,
die innerhalb eines Ausdrucks in der folgenden Syntax verwendet werden
kann:
BAnd := T1 band T2
- Multithreading-Typ: independent (läuft parallel auch zu exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
T1T1T1T1T1t1 (input_control) integer(-array) → HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)
Eingabetupel 1.
T2T2T2T2T2t2 (input_control) integer(-array) → HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)
Eingabetupel 2.
Binäres Und der Eingabetupel.
tuple_bortuple_borTupleBortuple_borTupleBorTupleBor,
tuple_bxortuple_bxorTupleBxortuple_bxorTupleBxorTupleBxor,
tuple_bnottuple_bnotTupleBnottuple_bnotTupleBnotTupleBnot
tuple_andtuple_andTupleAndtuple_andTupleAndTupleAnd,
tuple_ortuple_orTupleOrtuple_orTupleOrTupleOr,
tuple_xortuple_xorTupleXortuple_xorTupleXorTupleXor,
tuple_nottuple_notTupleNottuple_notTupleNotTupleNot
Foundation