Contents

.^(_:_:)

A vector mask that is the pointwise exclusive or of the inputs.

Declaration

static func .^ (a: SIMDMask<Storage>, b: SIMDMask<Storage>) -> SIMDMask<Storage>

Discussion

Equivalent to:

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