<!--
{
  "availability" : [
    "iOS: 8.0.0 - 14.0.0",
    "iPadOS: 8.0.0 - 14.0.0",
    "macCatalyst: 13.1.0 - 14.0.0",
    "macOS: 10.10.0 - 11.0.0",
    "tvOS: 8.0.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 1.0.0 - 7.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/la_norm_as_float(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@la_norm_as_float"
  },
  "title" : "la_norm_as_float(_:_:)"
}
-->

# la_norm_as_float(_:_:)

```
func la_norm_as_float(_ vector: la_object_t, _ vector_norm: la_norm_t) -> Float
```

## Discussion\abstract Compute a norm of a vector or matrix.
\discussion “vector” refers to the fact that this function computes the norm of its
argument considered as a vector, and not an operator norm.  The actual
argument may be either a vector or a matrix.  If it is not a vector or
matrix, or if the vector_norm parameter is not a supported value, NAN is
returned.

---

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)