<!--
{
  "availability" : [
    "*: -",
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNS/RelationalOperator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4BNNSO18RelationalOperatorV"
  },
  "title" : "BNNS.RelationalOperator"
}
-->

# BNNS.RelationalOperator

Constants that describe relational operations.

```
@frozen struct RelationalOperator
```

## Topics

### Relational Operators

[`static var equal: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/equal)

The operator that indicates the equal-to relationship.

[`static var greater: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/greater)

The operator that indicates the greater-than relationship.

[`static var greaterEqual: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/greaterEqual)

The operator that indicates the greater-than or equal-to relationship.

[`static var less: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/less)

The operator that indicates the less-than relationship.

[`static var lessEqual: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/lessEqual)

The operator that indicates the less-than or equal-to relationship.

[`static var notEqual: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/notEqual)

The operator that indicates the not-equal relationship.

### Logical Operators

[`static var and: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/and)

The operator that indicates the logical AND relationship.

[`static var nand: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/nand)

The operator that indicates the logical NAND relationship.

[`static var nor: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/nor)

The operator that indicates the logical NOR relationship.

[`static var not: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/not)

The operator that indicates the logical NOT relationship.

[`static var or: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/or)

The operator that indicates the logical OR relationship.

[`static var xor: BNNS.RelationalOperator`](/documentation/Accelerate/BNNS/RelationalOperator/xor)

The operator that indicates the logical XOR relationship.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Copyable`](/documentation/Swift/Copyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)