Operator 演算子

.!=(_:_:)

A vector mask with the result of a pointwise inequality comparison. あるポイント単位不等比較の結果をもつベクターマスク。

Declaration 宣言

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

Discussion 解説

Equivalent to: 次に等しい:


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