A vector mask with the result of a pointwise inequality comparison.
あるポイント単位不等比較の結果をもつベクターマスク。
Technology
- Swift Standard Library
Swift標準ライブラリ
Declaration
宣言
Available when Storage
is SIMD4
<
Int
>
.
Storage
がSIMD4
<
Int
>
である時に利用可能です。
Discussion
解説
Equivalent to:
次に等しい:
var result = SIMDMask<SIMD4<Int>>()
for i in result.indices {
result[i] = a[i] != b[i]
}