Skip to content

tuple_andTupleAndTupleAndtuple_andtuple_and🔗

説明🔗

tuple_andTupleAndTupleAndtuple_andtuple_and — 2 つの tuple の論理 and を計算する。

書式🔗

tuple_and( integer T1, integer T2, out integer And )void TupleAnd( const HTuple& T1, const HTuple& T2, HTuple* And )static void HOperatorSet.TupleAnd( HTuple t1, HTuple t2, out HTuple and )def tuple_and( t1: MaybeSequence[int], t2: MaybeSequence[int] ) -> Sequence[int]

def tuple_and_s( t1: MaybeSequence[int], t2: MaybeSequence[int] ) -> intHerror tuple_and( const Hlong T1, const Hlong T2, Hlong* And )

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

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

HTuple HTuple.TupleAnd( HTuple t2 )

説明🔗

tuple_andTupleAnd は、入力 tuple T1t1t1 および T2t2t2 の 論理積を計算します。両方の tuple が同じ長さなら、対応した要素間で計 算が行われます。そうでない場合、T1t1t1 または T2t2t2 は 長さ 1 になる必要があります。長い tuple のそれぞれの要素と長さ 1 の tuple 要素との間で計算されます。入力 tuple は整数です。

例外: 入力tuple が 空🔗

入力tupleのいずれかが空の場合、例外が発生します。

HDevelopインライン演算🔗

HDevelopは tuple_andTupleAnd の代わりとなるインライン演算を備えており、以下の構文形式で使 用することができます::

And := T1 and T2

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

T1t1t1 (input_control) integer(-array) → (integer)HTuple (Hlong)HTuple (int / long)MaybeSequence[int]Htuple (Hlong)

入力 tuple 1

T2t2t2 (input_control) integer(-array) → (integer)HTuple (Hlong)HTuple (int / long)MaybeSequence[int]Htuple (Hlong)

入力 tuple 2

Andandand (output_control) integer(-array) → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

入力 tuple の論理 積

他のオペレーターとの組み合わせ🔗

組み合わせ

他の選択候補

tuple_orTupleOr, tuple_xorTupleXor, tuple_notTupleNot

関連項目

tuple_bandTupleBand, tuple_borTupleBor, tuple_bxorTupleBxor, tuple_bnotTupleBnot

モジュール🔗

Foundation