---
title: "matrix_from_rows(_:_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/matrix_from_rows(_:_:_:)-15v2l"
---

# matrix_from_rows(_:_:_:)

Returns a new matrix with the specified rows.

## Declaration

```swift
func matrix_from_rows(_ row0: SIMD3<Float>, _ row1: SIMD3<Float>, _ row2: SIMD3<Float>) -> simd_float3x3
```

## See Also

### Matrix Creation Functions

- [simd_matrix(_:_:_:)](simd/simd_matrix(_:_:_:)-52z0s.md)
- [simd_matrix_from_rows(_:_:_:)](simd/simd_matrix_from_rows(_:_:_:)-1tn2x.md)
- [simd_matrix3x3(_:)](simd/simd_matrix3x3(_:)-60cx9.md)
