<!--
{
  "availability" : [

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

# simd_double4x3

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

```
struct simd_double4x3
```

## Topics

### Initializers

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

Creates a new matrix with uninitialized memory.

[`init(_:)`](/documentation/simd/simd_double4x3/init(_:)-lh76)

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

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

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

[`init(_:)`](/documentation/simd/simd_double4x3/init(_:)-24exh)

Creates a new matrix from an array.

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

Creates a new matrix with the specified vectors as columns.

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

Creates a new matrix with the specified columns.

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

Creates a new matrix with the specified rows.

### Matrix Properties

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

The transpose of the matrix.

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

The columns of the matrix.

### Matrix Creation Functions

[`simd_matrix(_:_:_:_:)`](/documentation/simd/simd_matrix(_:_:_:_:)-4swfv)

Returns a new matrix with the specified columns.

[`simd_matrix_from_rows(_:_:_:)`](/documentation/simd/simd_matrix_from_rows(_:_:_:)-6525o)

Returns a new matrix with the specified rows.

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

Returns a new matrix with the specified rows.

### Math Functions

[`simd_add`](/documentation/simd/simd_add-5827c)

Returns the sum of two matrices.

[`simd_sub`](/documentation/simd/simd_sub-7r2k2)

Returns the difference of two matrices.

[`matrix_scale`](/documentation/simd/matrix_scale-4to0w)

Returns the product of a scalar value and a matrix.

### Matrix-Scalar Multiplication Functions

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

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

### Matrix-Vector Multiplication Functions

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

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

[`matrix_multiply`](/documentation/simd/matrix_multiply-1q0om)

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

[`simd_mul`](/documentation/simd/simd_mul-24gts)

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

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

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

### Matrix-Matrix Multiplication Functions

[`simd_mul`](/documentation/simd/simd_mul-33ps1)

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

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

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

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

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

[`matrix_multiply`](/documentation/simd/matrix_multiply-8s05c)

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

[`simd_mul`](/documentation/simd/simd_mul-cmf2)

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

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

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

### Equality Functions

[`simd_equal`](/documentation/simd/simd_equal-9yy3z)

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-1d74k)

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-39069)

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

### Linear Combination Function

[`simd_linear_combination`](/documentation/simd/simd_linear_combination-7zah2)

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

### Transpose Function

[`simd_transpose`](/documentation/simd/simd_transpose-xo7a)

Returns the transpose of a matrix.

### Element Access

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

Accesses the column at the specified position.

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

Accesses the element at the specified position.

### Type Aliases

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

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

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

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

### Deprecated Symbols

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

Returns a new matrix with the specified columns.

[`matrix_equal(_:_:)`](/documentation/simd/matrix_equal(_:_:)-1x3ox)

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

[`matrix_transpose(_:)`](/documentation/simd/matrix_transpose(_:)-23ibz)

Returns the transpose of a matrix.

[`init(_:)`](/documentation/simd/simd_double4x3/init(_:)-30jps)

Creates a new matrix with the specified matrix.

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

Returns the matrix as the corresponding C matrix type.



---

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)