<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/transposition-vdsp",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Transposition"
}
-->

# Transposition

Tranpose vectors that contain real values.

## Topics

### Transposing real matrices

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

Transposes a single-precision matrix.

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

Transposes a double-precision matrix.



---

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)