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

# vSgetmo(_:_:_:_:)

Transposes a matrix out of place.

```
func vSgetmo(_ height: Int32, _ width: Int32, _ x: UnsafePointer<vFloat>, _ y: UnsafeMutablePointer<vFloat>)
```

## Parameters

`height`

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

`width`

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

`x`

matrix with `height` rows and `width` columns.

`y`

matrix with `width` rows and `height` columns.

## Discussion

The matrix `x` is transposed into matrix `y`.

---

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)