<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/matrix_from_rows(_:_:_:)-ld0y",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "s:4simd16matrix_from_rowsySo0A9_float4x3as5SIMD4VySfG_A2GtF"
  },
  "title" : "matrix_from_rows(_:_:_:)"
}
-->

# matrix_from_rows(_:_:_:)

Returns a new matrix with the specified rows.

```
func matrix_from_rows(_ row0: SIMD4<Float>, _ row1: SIMD4<Float>, _ row2: SIMD4<Float>) -> simd_float4x3
```

---

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)