<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/simd_float4x3",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "c:@SA@simd_float4x3"
  },
  "title" : "simd_float4x3"
}
-->

# simd_float4x3

A matrix of four columns and three rows that contains single-precision values.

```
struct simd_float4x3
```

## Topics

### Initializers

[`init()`](/documentation/simd/simd_float4x3/init())

Creates a new matrix with uninitialized memory.

[`init(_:)`](/documentation/simd/simd_float4x3/init(_:)-4h0e8)

Creates a new matrix with the specified scalar value on the main diagonal.

[`init(diagonal:)`](/documentation/simd/simd_float4x3/init(diagonal:))

Creates a new matrix with the specified vector on the main diagonal.

[`init(_:)`](/documentation/simd/simd_float4x3/init(_:)-50uqp)

Creates a new matrix from an array.

[`init(_:_:_:_:)`](/documentation/simd/simd_float4x3/init(_:_:_:_:))

Creates a new matrix with the specified vectors as columns.

[`init(columns:)`](/documentation/simd/simd_float4x3/init(columns:))

Creates a new matrix with the specified columns.

[`init(rows:)`](/documentation/simd/simd_float4x3/init(rows:))

Creates a new matrix with the specified rows.

[`init(_:)`](/documentation/simd/simd_float4x3/init(_:)-3rlc3)

[`init(affineTransform:)`](/documentation/simd/simd_float4x3/init(affineTransform:))

### Matrix Properties

[`transpose`](/documentation/simd/simd_float4x3/transpose)

The transpose of the matrix.

[`columns`](/documentation/simd/simd_float4x3/columns)

The columns of the matrix.

### Matrix Creation Functions

[`simd_matrix(_:_:_:_:)`](/documentation/simd/simd_matrix(_:_:_:_:)-55qff)

Returns a new matrix with the specified columns.

[`simd_matrix_from_rows(_:_:_:)`](/documentation/simd/simd_matrix_from_rows(_:_:_:)-81rfz)

Returns a new matrix with the specified rows.

[`matrix_from_rows(_:_:_:)`](/documentation/simd/matrix_from_rows(_:_:_:)-ld0y)

Returns a new matrix with the specified rows.

### Math Functions

[`simd_add`](/documentation/simd/simd_add-2mwsl)

Returns the sum of two matrices.

[`simd_sub`](/documentation/simd/simd_sub-2uvgd)

Returns the difference of two matrices.

[`matrix_scale`](/documentation/simd/matrix_scale-19677)

Returns the product of a scalar value and a matrix.

### Matrix-Scalar Multiplication Functions

[`simd_mul`](/documentation/simd/simd_mul-7dh4y)

Returns the product of a scalar value and a 4 x 3 matrix.

### Matrix-Vector Multiplication Functions

[`simd_mul`](/documentation/simd/simd_mul-9e8z9)

Returns the product of a three-element vector and a 4 x 3 matrix.

[`matrix_multiply`](/documentation/simd/matrix_multiply-9ikfl)

Returns the product of a three-element vector and a 4 x 3 matrix.

[`matrix_multiply`](/documentation/simd/matrix_multiply-2zrla)

Returns the product of a 4 x 3 matrix and a four-element vector.

[`simd_mul`](/documentation/simd/simd_mul-2jbub)

Returns the product of a 4 x 3 matrix and a four-element vector.

### Matrix-Matrix Multiplication Functions

[`simd_mul`](/documentation/simd/simd_mul-1gyxn)

Returns the product of a 2 x 3 matrix and a 4 x 2 matrix.

[`matrix_multiply`](/documentation/simd/matrix_multiply-4t7o3)

Returns the product of a 2 x 3 matrix and a 4 x 2 matrix.

[`simd_mul`](/documentation/simd/simd_mul-99lq6)

Returns the product of a 3 x 3 matrix and a 4 x 3 matrix.

[`matrix_multiply`](/documentation/simd/matrix_multiply-5sdp5)

Returns the product of a 3 x 3 matrix and a 4 x 3 matrix.

[`simd_mul`](/documentation/simd/simd_mul-28whi)

Returns the product of a 4 x 3 matrix and a 4 x 4 matrix.

[`matrix_multiply`](/documentation/simd/matrix_multiply-4emfa)

Returns the product of a 4 x 3 matrix and a 4 x 4 matrix.

### Equality Functions

[`simd_equal`](/documentation/simd/simd_equal-1da77)

Returns true if every element in a matrix is exactly equal to the corresponding element in a second matrix.

[`simd_almost_equal_elements`](/documentation/simd/simd_almost_equal_elements-6rxjg)

Returns true if every element in a matrix is within a specified tolerance to the corresponding element in a second matrix.

[`simd_almost_equal_elements_relative`](/documentation/simd/simd_almost_equal_elements_relative-4tjkf)

Returns true if every element in a matrix is within a specified single-precision relative tolerance to the corresponding element in a second matrix.

### Linear Combination Function

[`simd_linear_combination`](/documentation/simd/simd_linear_combination-12i0i)

Returns the linear combination of two scalar values and two matrices.

### Transpose Function

[`simd_transpose`](/documentation/simd/simd_transpose-7h9uh)

Returns the transpose of a matrix.

### Element Access

[`subscript(_:)`](/documentation/simd/simd_float4x3/subscript(_:))

Accesses the column at the specified position.

[`subscript(_:_:)`](/documentation/simd/simd_float4x3/subscript(_:_:))

Accesses the element at the specified position.

### Type Aliases

[`float4x3`](/documentation/simd/float4x3)

A type alias for a single-precision 4 x 3 matrix.

[`matrix_float4x3`](/documentation/simd/matrix_float4x3)

A type alias for a single-precision 4 x 3 matrix.

### Deprecated Symbols

[`matrix_equal(_:_:)`](/documentation/simd/matrix_equal(_:_:)-2m44x)

Returns true if every element in a matrix is exactly equal to the corresponding element in a second matrix, and otherwise returns false.

[`matrix_from_columns(_:_:_:_:)`](/documentation/simd/matrix_from_columns(_:_:_:_:)-7tq9m)

Returns a new matrix with the specified columns.

[`matrix_transpose(_:)`](/documentation/simd/matrix_transpose(_:)-2oa75)

Returns the transpose of a matrix.

[`cmatrix`](/documentation/simd/simd_float4x3/cmatrix)

Returns the matrix as the corresponding C matrix type.

[`init(_:)`](/documentation/simd/simd_float4x3/init(_:)-6f0m9)

Creates a new matrix with the specified matrix.



---

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)