<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/normalization-functions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Normalization functions"
}
-->

# Normalization functions

Compute the mean and standard deviation of a vector and calculate new elements to have a zero mean and a unit standard deviation.

## Topics

### Normalization Functions

  <doc://com.apple.accelerate/documentation/Accelerate/finding-the-sharpest-image-in-a-sequence-of-captured-images>

[`extern void vDSP_normalize(const float *__A, vDSP_Stride __IA, float *__C, vDSP_Stride __IC, float *__Mean, float *__StandardDeviation, vDSP_Length __N);`](/documentation/Accelerate/vDSP_normalize)

Computes single-precision mean and standard deviation, and then calculates new elements to have a zero mean and a unit standard deviation.

[`extern void vDSP_normalizeD(const double *__A, vDSP_Stride __IA, double *__C, vDSP_Stride __IC, double *__Mean, double *__StandardDeviation, vDSP_Length __N);`](/documentation/Accelerate/vDSP_normalizeD)

Computes double-precision mean and standard deviation, and then calculates new elements to have a zero mean and a unit standard deviation.



---

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)