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

# matrix_from_columns(_:_:_:)

Returns a new matrix with the specified columns.

## Declaration

```swift
func matrix_from_columns(_ col0: SIMD4<Double>, _ col1: SIMD4<Double>, _ col2: SIMD4<Double>) -> simd_double3x4
```

## See Also

### Deprecated Symbols

- [matrix_equal(_:_:)](simd/matrix_equal(_:_:)-4qog1.md)
- [matrix_transpose(_:)](simd/matrix_transpose(_:)-8am0o.md)
- [init(_:)](simd/simd_double3x4/init(_:)-2qvpe.md)
- [cmatrix](simd/simd_double3x4/cmatrix.md)
