---
title: ".^(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simdmask/'._(_:_:)-1kfk0"
---

# .^(_:_:)

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

## Declaration

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

## Discussion

Discussion Equivalent to: var result = SIMDMask<SIMD8<Int32>>() for i in result.indices {   result[i] = a[i] != b[i] }
