<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vSgetmi(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vSgetmi"
  },
  "title" : "vSgetmi(_:_:)"
}
-->

# vSgetmi(_:_:)

Transposes a matrix in place.

```
func vSgetmi(_ size: Int32, _ x: UnsafeMutablePointer<vFloat>)
```

## Parameters

`size`

number of rows and columns in matrix `x`; must be a multiple of 4.

`x`

square matrix with `size` rows and `size` columns.

## Discussion

The matrix `x` is transposed in place.

---

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)