<!--
{
  "documentType" : "article",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/matrix-and-submatrix-copying-functions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Matrix and submatrix copying functions"
}
-->

# Matrix and submatrix copying functions

Copy the contents of a submatrix to another submatrix.

## Topics

### Copying matrices and submatrices

[`extern void vDSP_mmov(const float *__A, float *__C, vDSP_Length __M, vDSP_Length __N, vDSP_Length __TA, vDSP_Length __TC);`](/documentation/Accelerate/vDSP_mmov)

Copies the contents of a single-precision submatrix to another single-precision matrix.

[`extern void vDSP_mmovD(const double *__A, double *__C, vDSP_Length __M, vDSP_Length __N, vDSP_Length __TA, vDSP_Length __TC);`](/documentation/Accelerate/vDSP_mmovD)

Copies the contents of a double-precision submatrix to another 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)