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

# matrix_from_columns(_:_:_:_:)

Returns a new matrix with the specified columns.

## Declaration

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

## See Also

### Deprecated Symbols

- [matrix_equal(_:_:)](simd/matrix_equal(_:_:)-1x3ox.md)
- [matrix_transpose(_:)](simd/matrix_transpose(_:)-23ibz.md)
- [init(_:)](simd/simd_double4x3/init(_:)-30jps.md)
- [cmatrix](simd/simd_double4x3/cmatrix.md)
