Contents

.!(_:)

A vector mask that is the pointwise logical negation of the input.

Declaration

static func .! (a: SIMDMask<Storage>) -> SIMDMask<Storage>

Discussion

Equivalent to:

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