<!--
{
  "availability" : [

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

# matrix_from_rows(_:_:)

Returns a new matrix with the specified rows.

```
func matrix_from_rows(_ row0: SIMD4<Double>, _ row1: SIMD4<Double>) -> simd_double4x2
```

---

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)