Operator 演算子

.|=(_:_:)

Replaces a with the pointwise logical disjunction of a and b. aabのポイント単位論理和で置き換えます。

Declaration 宣言

static func .|= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>)
Available when Storage is SIMD64<Int>. StorageSIMD64<Int>である時に利用可能です。

Discussion 解説

Equivalent to: 次に等しい:


for i in a.indices {
  a[i] = a[i] || b[i]
}