Operator 演算子

.&=(_:_:)

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

Declaration 宣言

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

Discussion 解説

Equivalent to: 次に等しい:


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