KlassenKlassenKlassenKlassen | | | | Operatoren

tuple_andtuple_andTupleAndtuple_andTupleAndTupleAnd (Operator)

Name

tuple_andtuple_andTupleAndtuple_andTupleAndTupleAnd — Berechnen des logischen Und zweier Tupel.

Signatur

tuple_and( : : T1, T2 : And)

Herror tuple_and(const Hlong T1, const Hlong T2, Hlong* And)

Herror T_tuple_and(const Htuple T1, const Htuple T2, Htuple* And)

Herror tuple_and(const HTuple& T1, const HTuple& T2, Hlong* And)

Herror tuple_and(const HTuple& T1, const HTuple& T2, HTuple* And)

void TupleAnd(const HTuple& T1, const HTuple& T2, HTuple* And)

HTuple HTuple::TupleAnd(const HTuple& T2) const

void HOperatorSetX.TupleAnd(
[in] VARIANT T1, [in] VARIANT T2, [out] VARIANT* And)

VARIANT HTupleX.TupleAnd(
[in] VARIANT T1, [in] VARIANT T2)

static void HOperatorSet.TupleAnd(HTuple t1, HTuple t2, out HTuple and)

HTuple HTuple.TupleAnd(HTuple t2)

Beschreibung

tuple_andtuple_andTupleAndtuple_andTupleAndTupleAnd berechnet das logische 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 mehrere Eingabetupel leer sind, wird eine Fehlermeldung angezeigt.

HDevelop Inline-Operation

HDevelop unterstützt eine Inline-Operation für tuple_andtuple_andTupleAndtuple_andTupleAndTupleAnd, die innerhalb eines Ausdrucks in der folgenden Syntax verwendet werden kann:

And := T1 and T2

Parallelisierung

Parameter

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.

AndAndAndAndAndand (output_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Logisches Und der Eingabetupel.

Alternativen

tuple_ortuple_orTupleOrtuple_orTupleOrTupleOr, tuple_xortuple_xorTupleXortuple_xorTupleXorTupleXor, tuple_nottuple_notTupleNottuple_notTupleNotTupleNot

Siehe auch

tuple_bandtuple_bandTupleBandtuple_bandTupleBandTupleBand, tuple_bortuple_borTupleBortuple_borTupleBorTupleBor, tuple_bxortuple_bxorTupleBxortuple_bxorTupleBxorTupleBxor, tuple_bnottuple_bnotTupleBnottuple_bnotTupleBnotTupleBnot

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren