---
title: "matrix_from_columns(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/matrix_from_columns(_:_:)-61w2n"
---

# matrix_from_columns(_:_:)

Returns a new matrix with the specified columns.

## Declaration

```swift
func matrix_from_columns(_ col0: SIMD3<Double>, _ col1: SIMD3<Double>) -> simd_double2x3
```

## See Also

### Deprecated Symbols

- [matrix_equal(_:_:)](simd/matrix_equal(_:_:)-52vds.md)
- [matrix_transpose(_:)](simd/matrix_transpose(_:)-97k0o.md)
- [init(_:)](simd/simd_double2x3/init(_:)-98rcw.md)
- [cmatrix](simd/simd_double2x3/cmatrix.md)
