Operator 演算子

.==(_:_:)

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

Declaration 宣言

static func .== (a: SIMD4<Scalar>, b: SIMD4<Scalar>) -> SIMDMask<SIMD4<Scalar.SIMDMaskScalar>>

Discussion 解説

Equivalent to: 次に等しい:


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