Operator 演算子

.!(_:)

A vector mask that is the pointwise logical negation of the input. この入力のポイント単位論理否定であるベクターマスク。

Declaration 宣言

prefix static func .! (a: SIMDMask<Storage>) -> SIMDMask<Storage>
Available when Storage is SIMD16<Int64>. StorageSIMD16<Int64>である時に利用可能です。

Discussion 解説

Equivalent to: 次に等しい:


var result = SIMDMask<SIMD16<Int64>>()
for i in result.indices {
  result[i] = !a[i]
}