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