<!--
{
  "availability" : [
    "*: -",
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNS/Norm",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4BNNSO4NormV"
  },
  "title" : "BNNS.Norm"
}
-->

# BNNS.Norm

Constants that describe norm types.

```
@frozen struct Norm
```

## Topics

### Norm Types

[`static var taxicab: BNNS.Norm`](/documentation/Accelerate/BNNS/Norm/taxicab)

A constant that represents the taxicab norm.

[`static var l1: BNNS.Norm`](/documentation/Accelerate/BNNS/Norm/l1)

A constant that represents the L1 norm.

[`static var euclidean: BNNS.Norm`](/documentation/Accelerate/BNNS/Norm/euclidean)

A constant that represents the Euclidean norm.

[`static var l2: BNNS.Norm`](/documentation/Accelerate/BNNS/Norm/l2)

A constant that represents the L2 norm.

[`static var maximum: BNNS.Norm`](/documentation/Accelerate/BNNS/Norm/maximum)

A constant that represents the maximum norm.

[`static var lInfinity: BNNS.Norm`](/documentation/Accelerate/BNNS/Norm/lInfinity)

A constant that represents the maximum norm.

### Raw Values

[`init(rawValue: Float)`](/documentation/Accelerate/BNNS/Norm/init(rawValue:))

Creates a new instance with the specified raw value.

[`var rawValue: Float`](/documentation/Accelerate/BNNS/Norm/rawValue)

The corresponding value of the raw type.

## Relationships

### Conforms To

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

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

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

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

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

---

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)