<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "simd",
  "identifier" : "/documentation/simd",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "simd"
  },
  "title" : "simd"
}
-->

# simd

## Topics

### Structures

[`struct simd_double2x2`](/documentation/simd/simd_double2x2)

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

[`struct simd_double2x3`](/documentation/simd/simd_double2x3)

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

[`struct simd_double2x4`](/documentation/simd/simd_double2x4)

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

[`struct simd_double3x2`](/documentation/simd/simd_double3x2)

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

[`struct simd_double3x3`](/documentation/simd/simd_double3x3)

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

[`struct simd_double3x4`](/documentation/simd/simd_double3x4)

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

[`struct simd_double4x2`](/documentation/simd/simd_double4x2)

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

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

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

[`struct simd_double4x4`](/documentation/simd/simd_double4x4)

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

[`struct simd_float2x2`](/documentation/simd/simd_float2x2)

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

[`struct simd_float2x3`](/documentation/simd/simd_float2x3)

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

[`struct simd_float2x4`](/documentation/simd/simd_float2x4)

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

[`struct simd_float3x2`](/documentation/simd/simd_float3x2)

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

[`struct simd_float3x3`](/documentation/simd/simd_float3x3)

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

[`struct simd_float3x4`](/documentation/simd/simd_float3x4)

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

[`struct simd_float4x2`](/documentation/simd/simd_float4x2)

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

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

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

[`struct simd_float4x4`](/documentation/simd/simd_float4x4)

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

[`struct simd_half2x2`](/documentation/simd/simd_half2x2)

A matrix of two columns and two rows that contains half-precision values.

[`struct simd_half2x3`](/documentation/simd/simd_half2x3)

A matrix of two columns and three rows that contains half-precision values.

[`struct simd_half2x4`](/documentation/simd/simd_half2x4)

A matrix of two columns and four rows that contains half-precision values.

[`struct simd_half3x2`](/documentation/simd/simd_half3x2)

A matrix of three columns and two rows that contains half-precision values.

[`struct simd_half3x3`](/documentation/simd/simd_half3x3)

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

[`struct simd_half3x4`](/documentation/simd/simd_half3x4)

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

[`struct simd_half4x2`](/documentation/simd/simd_half4x2)

A matrix of four columns and two rows that contains half-precision values.

[`struct simd_half4x3`](/documentation/simd/simd_half4x3)

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

[`struct simd_half4x4`](/documentation/simd/simd_half4x4)

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

[`struct simd_quatd`](/documentation/simd/simd_quatd)

A double-precision quaternion.

[`struct simd_quatf`](/documentation/simd/simd_quatf)

A single-precision quaternion.

[`struct simd_quath`](/documentation/simd/simd_quath)

### Variables

[`var SIMD_COMPILER_HAS_REQUIRED_FEATURES: Int32`](/documentation/simd/SIMD_COMPILER_HAS_REQUIRED_FEATURES)

[`var SIMD_CURRENT_LIBRARY_VERSION: Int32`](/documentation/simd/SIMD_CURRENT_LIBRARY_VERSION)

[`var SIMD_LIBRARY_VERSION: Int32`](/documentation/simd/SIMD_LIBRARY_VERSION)

### Functions

[`func abs(simd_half3) -> simd_half3`](/documentation/simd/abs(_:)-1oaic)

Elementwise absolute value of a vector.  The result is a vector of the same
length with all elements positive.

[`func abs(simd_half8) -> simd_half8`](/documentation/simd/abs(_:)-23x59)

Elementwise absolute value of a vector.  The result is a vector of the same
length with all elements positive.

[`func abs(simd_half4) -> simd_half4`](/documentation/simd/abs(_:)-2sqwt)

Elementwise absolute value of a vector.  The result is a vector of the same
length with all elements positive.

[`func abs(simd_half32) -> simd_half32`](/documentation/simd/abs(_:)-4qe6n)

Elementwise absolute value of a vector.  The result is a vector of the same
length with all elements positive.

[`func abs(simd_half2) -> simd_half2`](/documentation/simd/abs(_:)-5f1om)

Elementwise absolute value of a vector.  The result is a vector of the same
length with all elements positive.

[`func abs(simd_half16) -> simd_half16`](/documentation/simd/abs(_:)-5yvia)

Elementwise absolute value of a vector.  The result is a vector of the same
length with all elements positive.

[`func ceil(simd_half32) -> simd_half32`](/documentation/simd/ceil(_:)-2mz12)

Each element of the result is the smallest integral value greater than or
equal to the corresponding element of the input.

[`func ceil(simd_half2) -> simd_half2`](/documentation/simd/ceil(_:)-2y927)

Each element of the result is the smallest integral value greater than or
equal to the corresponding element of the input.

[`func ceil(simd_half8) -> simd_half8`](/documentation/simd/ceil(_:)-3qezc)

Each element of the result is the smallest integral value greater than or
equal to the corresponding element of the input.

[`func ceil(simd_half16) -> simd_half16`](/documentation/simd/ceil(_:)-5zaxi)

Each element of the result is the smallest integral value greater than or
equal to the corresponding element of the input.

[`func ceil(simd_half3) -> simd_half3`](/documentation/simd/ceil(_:)-6phu2)

Each element of the result is the smallest integral value greater than or
equal to the corresponding element of the input.

[`func ceil(simd_half4) -> simd_half4`](/documentation/simd/ceil(_:)-6qwcw)

Each element of the result is the smallest integral value greater than or
equal to the corresponding element of the input.

[`func floor(simd_half4) -> simd_half4`](/documentation/simd/floor(_:)-2r68l)

Each element of the result is the largest integral value less than or equal
to the corresponding element of the input.

[`func floor(simd_half16) -> simd_half16`](/documentation/simd/floor(_:)-51eh3)

Each element of the result is the largest integral value less than or equal
to the corresponding element of the input.

[`func floor(simd_half2) -> simd_half2`](/documentation/simd/floor(_:)-5kj31)

Each element of the result is the largest integral value less than or equal
to the corresponding element of the input.

[`func floor(simd_half32) -> simd_half32`](/documentation/simd/floor(_:)-5yv9x)

Each element of the result is the largest integral value less than or equal
to the corresponding element of the input.

[`func floor(simd_half8) -> simd_half8`](/documentation/simd/floor(_:)-8noum)

Each element of the result is the largest integral value less than or equal
to the corresponding element of the input.

[`func floor(simd_half3) -> simd_half3`](/documentation/simd/floor(_:)-9w8kb)

Each element of the result is the largest integral value less than or equal
to the corresponding element of the input.

[`func max(simd_half16, simd_half16) -> simd_half16`](/documentation/simd/max(_:_:)-3ia66)

Elementwise maximum of two vectors.  Each component of the result is the
larger of the corresponding component of the inputs.

[`func max(simd_half16, Float16) -> simd_half16`](/documentation/simd/max(_:_:)-3nrjh)

Vector-scalar maximum.  Each component of the result is the maximum of the
corresponding element of the input vector and the scalar.

[`func max(simd_half32, simd_half32) -> simd_half32`](/documentation/simd/max(_:_:)-51f8j)

Elementwise maximum of two vectors.  Each component of the result is the
larger of the corresponding component of the inputs.

[`func max(simd_half32, Float16) -> simd_half32`](/documentation/simd/max(_:_:)-54mlg)

Vector-scalar maximum.  Each component of the result is the maximum of the
corresponding element of the input vector and the scalar.

[`func max(simd_half3, Float16) -> simd_half3`](/documentation/simd/max(_:_:)-6dcr1)

Vector-scalar maximum.  Each component of the result is the maximum of the
corresponding element of the input vector and the scalar.

[`func max(simd_half3, simd_half3) -> simd_half3`](/documentation/simd/max(_:_:)-6ityy)

Elementwise maximum of two vectors.  Each component of the result is the
larger of the corresponding component of the inputs.

[`func max(simd_half2, simd_half2) -> simd_half2`](/documentation/simd/max(_:_:)-7kwai)

Elementwise maximum of two vectors.  Each component of the result is the
larger of the corresponding component of the inputs.

[`func max(simd_half2, Float16) -> simd_half2`](/documentation/simd/max(_:_:)-7nw7d)

Vector-scalar maximum.  Each component of the result is the maximum of the
corresponding element of the input vector and the scalar.

[`func max(simd_half8, simd_half8) -> simd_half8`](/documentation/simd/max(_:_:)-8ukdb)

Elementwise maximum of two vectors.  Each component of the result is the
larger of the corresponding component of the inputs.

[`func max(simd_half8, Float16) -> simd_half8`](/documentation/simd/max(_:_:)-8xrps)

Vector-scalar maximum.  Each component of the result is the maximum of the
corresponding element of the input vector and the scalar.

[`func max(simd_half4, simd_half4) -> simd_half4`](/documentation/simd/max(_:_:)-960b9)

Elementwise maximum of two vectors.  Each component of the result is the
larger of the corresponding component of the inputs.

[`func max(simd_half4, Float16) -> simd_half4`](/documentation/simd/max(_:_:)-997qu)

Vector-scalar maximum.  Each component of the result is the maximum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half4, simd_half4) -> simd_half4`](/documentation/simd/min(_:_:)-5rg96)

Elementwise minimum of two vectors.  Each component of the result is the
smaller of the corresponding component of the inputs.

[`func min(simd_half4, Float16) -> simd_half4`](/documentation/simd/min(_:_:)-5ul5l)

Vector-scalar minimum.  Each component of the result is the minimum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half16, simd_half16) -> simd_half16`](/documentation/simd/min(_:_:)-67sp6)

Elementwise minimum of two vectors.  Each component of the result is the
smaller of the corresponding component of the inputs.

[`func min(simd_half16, Float16) -> simd_half16`](/documentation/simd/min(_:_:)-6b02l)

Vector-scalar minimum.  Each component of the result is the minimum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half2, simd_half2) -> simd_half2`](/documentation/simd/min(_:_:)-735cl)

Elementwise minimum of two vectors.  Each component of the result is the
smaller of the corresponding component of the inputs.

[`func min(simd_half2, Float16) -> simd_half2`](/documentation/simd/min(_:_:)-76cpi)

Vector-scalar minimum.  Each component of the result is the minimum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half32, simd_half32) -> simd_half32`](/documentation/simd/min(_:_:)-7bq1b)

Elementwise minimum of two vectors.  Each component of the result is the
smaller of the corresponding component of the inputs.

[`func min(simd_half32, Float16) -> simd_half32`](/documentation/simd/min(_:_:)-7ezvg)

Vector-scalar minimum.  Each component of the result is the minimum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half8, simd_half8) -> simd_half8`](/documentation/simd/min(_:_:)-7vhsf)

Elementwise minimum of two vectors.  Each component of the result is the
smaller of the corresponding component of the inputs.

[`func min(simd_half8, Float16) -> simd_half8`](/documentation/simd/min(_:_:)-80p4s)

Vector-scalar minimum.  Each component of the result is the minimum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half3, Float16) -> simd_half3`](/documentation/simd/min(_:_:)-qbr4)

Vector-scalar minimum.  Each component of the result is the minimum of the
corresponding element of the input vector and the scalar.

[`func min(simd_half3, simd_half3) -> simd_half3`](/documentation/simd/min(_:_:)-tj43)

Elementwise minimum of two vectors.  Each component of the result is the
smaller of the corresponding component of the inputs.

[`func rint(simd_half4) -> simd_half4`](/documentation/simd/rint(_:)-16itt)

Each element of the result is the
corresponding element of the input rounded to the nearest integer,
using the current rounding mode.

[`func rint(simd_half16) -> simd_half16`](/documentation/simd/rint(_:)-2g2hq)

Each element of the result is the
corresponding element of the input rounded to the nearest integer,
using the current rounding mode.

[`func rint(simd_half32) -> simd_half32`](/documentation/simd/rint(_:)-3p367)

Each element of the result is the
corresponding element of the input rounded to the nearest integer,
using the current rounding mode.

[`func rint(simd_half3) -> simd_half3`](/documentation/simd/rint(_:)-91msl)

Each element of the result is the
corresponding element of the input rounded to the nearest integer,
using the current rounding mode.

[`func rint(simd_half2) -> simd_half2`](/documentation/simd/rint(_:)-9zf0h)

Each element of the result is the
corresponding element of the input rounded to the nearest integer,
using the current rounding mode.

[`func rint(simd_half8) -> simd_half8`](/documentation/simd/rint(_:)-ryn3)

Each element of the result is the
corresponding element of the input rounded to the nearest integer,
using the current rounding mode.

[`func simd_act(simd_quath, simd_half3) -> simd_half3`](/documentation/simd/simd_act(_:_:)-17i5z)

[`func simd_add(simd_quath, simd_quath) -> simd_quath`](/documentation/simd/simd_add(_:_:)-7ul9y)

[`func simd_angle(simd_quath) -> Float16`](/documentation/simd/simd_angle(_:)-zylp)

[`func simd_axis(simd_quath) -> simd_half3`](/documentation/simd/simd_axis(_:)-56smw)

[`func simd_bezier(simd_quath, simd_quath, simd_quath, simd_quath, Float16) -> simd_quath`](/documentation/simd/simd_bezier(_:_:_:_:_:)-2cl6p)

[`func simd_clamp(simd_half16, simd_half16, simd_half16) -> simd_half16`](/documentation/simd/simd_clamp(_:_:_:)-7ck0a)

[`func simd_conjugate(simd_quath) -> simd_quath`](/documentation/simd/simd_conjugate(_:)-989np)

[`func simd_dot(simd_quath, simd_quath) -> Float16`](/documentation/simd/simd_dot(_:_:)-2dt0z)

[`func simd_equal(simd_int3, simd_int3) -> simd_bool`](/documentation/simd/simd_equal(_:_:)-29zmw)

[`func simd_imag(simd_quath) -> simd_half3`](/documentation/simd/simd_imag(_:)-2c8in)

[`func simd_inverse(simd_quath) -> simd_quath`](/documentation/simd/simd_inverse(_:)-3cumm)

[`func simd_length(simd_quath) -> Float16`](/documentation/simd/simd_length(_:)-52pax)

[`func simd_matrix3x3(simd_quath) -> simd_half3x3`](/documentation/simd/simd_matrix3x3(_:)-60esl)

[`func simd_matrix4x4(simd_quath) -> simd_half4x4`](/documentation/simd/simd_matrix4x4(_:)-20inb)

[`func simd_mul(simd_quath, Float16) -> simd_quath`](/documentation/simd/simd_mul(_:_:)-2u2df)

[`func simd_mul(Float16, simd_quath) -> simd_quath`](/documentation/simd/simd_mul(_:_:)-428fx)

[`func simd_mul(simd_quath, simd_quath) -> simd_quath`](/documentation/simd/simd_mul(_:_:)-765ay)

[`func simd_negate(simd_quath) -> simd_quath`](/documentation/simd/simd_negate(_:)-3yw6m)

[`func simd_normalize(simd_quath) -> simd_quath`](/documentation/simd/simd_normalize(_:)-ubut)

[`func simd_quaternion(simd_half3x3) -> simd_quath`](/documentation/simd/simd_quaternion(_:)-2er3f)

[`func simd_quaternion(simd_half4) -> simd_quath`](/documentation/simd/simd_quaternion(_:)-4565s)

[`func simd_quaternion(UnsafePointer<Float16>!) -> simd_quath`](/documentation/simd/simd_quaternion(_:)-8kjw1)

[`func simd_quaternion(simd_half4x4) -> simd_quath`](/documentation/simd/simd_quaternion(_:)-9c4np)

[`func simd_quaternion(simd_half3, simd_half3) -> simd_quath`](/documentation/simd/simd_quaternion(_:_:)-59cuw)

[`func simd_quaternion(Float16, simd_half3) -> simd_quath`](/documentation/simd/simd_quaternion(_:_:)-6a6gg)

[`func simd_quaternion(Float16, Float16, Float16, Float16) -> simd_quath`](/documentation/simd/simd_quaternion(_:_:_:_:)-9u5ci)

[`func simd_real(simd_quath) -> Float16`](/documentation/simd/simd_real(_:)-75wwb)

[`func simd_reduce_max(simd_int3) -> Int32`](/documentation/simd/simd_reduce_max(_:)-4hctl)

[`func simd_slerp(simd_quath, simd_quath, Float16) -> simd_quath`](/documentation/simd/simd_slerp(_:_:_:)-7vayy)

[`func simd_slerp_longest(simd_quath, simd_quath, Float16) -> simd_quath`](/documentation/simd/simd_slerp_longest(_:_:_:)-816ko)

[`func simd_spline(simd_quath, simd_quath, simd_quath, simd_quath, Float16) -> simd_quath`](/documentation/simd/simd_spline(_:_:_:_:_:)-4ojmq)

[`func simd_sub(simd_quath, simd_quath) -> simd_quath`](/documentation/simd/simd_sub(_:_:)-47kxs)

[`func sqrt(simd_half3) -> simd_half3`](/documentation/simd/sqrt(_:)-201lt)

Each element of the result is the square root
of the corresponding element of the input.

[`func sqrt(simd_half16) -> simd_half16`](/documentation/simd/sqrt(_:)-3tk46)

Each element of the result is the square root
of the corresponding element of the input.

[`func sqrt(simd_half2) -> simd_half2`](/documentation/simd/sqrt(_:)-5rag4)

Each element of the result is the square root
of the corresponding element of the input.

[`func sqrt(simd_half4) -> simd_half4`](/documentation/simd/sqrt(_:)-605ao)

Each element of the result is the square root
of the corresponding element of the input.

[`func sqrt(simd_half8) -> simd_half8`](/documentation/simd/sqrt(_:)-62r7j)

Each element of the result is the square root
of the corresponding element of the input.

[`func sqrt(simd_half32) -> simd_half32`](/documentation/simd/sqrt(_:)-85jg8)

Each element of the result is the square root
of the corresponding element of the input.

[`func trunc(simd_half4) -> simd_half4`](/documentation/simd/trunc(_:)-1ndoy)

Each element of the result is the closest integral value with magnitude
less than or equal to that of the corresponding element of the input.

[`func trunc(simd_half8) -> simd_half8`](/documentation/simd/trunc(_:)-3i567)

Each element of the result is the closest integral value with magnitude
less than or equal to that of the corresponding element of the input.

[`func trunc(simd_half16) -> simd_half16`](/documentation/simd/trunc(_:)-42bu2)

Each element of the result is the closest integral value with magnitude
less than or equal to that of the corresponding element of the input.

[`func trunc(simd_half3) -> simd_half3`](/documentation/simd/trunc(_:)-6l2mm)

Each element of the result is the closest integral value with magnitude
less than or equal to that of the corresponding element of the input.

[`func trunc(simd_half32) -> simd_half32`](/documentation/simd/trunc(_:)-8e59l)

Each element of the result is the closest integral value with magnitude
less than or equal to that of the corresponding element of the input.

[`func trunc(simd_half2) -> simd_half2`](/documentation/simd/trunc(_:)-l3lk)

Each element of the result is the closest integral value with magnitude
less than or equal to that of the corresponding element of the input.

### Type Aliases

[`typealias matrix_half2x2`](/documentation/simd/matrix_half2x2)

[`typealias matrix_half2x3`](/documentation/simd/matrix_half2x3)

[`typealias matrix_half2x4`](/documentation/simd/matrix_half2x4)

[`typealias matrix_half3x2`](/documentation/simd/matrix_half3x2)

[`typealias matrix_half3x3`](/documentation/simd/matrix_half3x3)

[`typealias matrix_half3x4`](/documentation/simd/matrix_half3x4)

[`typealias matrix_half4x2`](/documentation/simd/matrix_half4x2)

[`typealias matrix_half4x3`](/documentation/simd/matrix_half4x3)

[`typealias matrix_half4x4`](/documentation/simd/matrix_half4x4)

[`typealias simd_bool`](/documentation/simd/simd_bool)

A Boolean scalar value.

[`typealias simd_char1`](/documentation/simd/simd_char1)

A vector of one 8-bit signed integer element.

[`typealias simd_char16`](/documentation/simd/simd_char16)

A vector of sixteen 8-bit signed integer elements.

[`typealias simd_char2`](/documentation/simd/simd_char2)

A vector of two 8-bit signed integer elements.

[`typealias simd_char3`](/documentation/simd/simd_char3)

A vector of three 8-bit signed integer elements.

[`typealias simd_char32`](/documentation/simd/simd_char32)

A vector of thirty-two 8-bit signed integer elements.

[`typealias simd_char4`](/documentation/simd/simd_char4)

A vector of four 8-bit signed integer elements.

[`typealias simd_char64`](/documentation/simd/simd_char64)

A vector of sixty-four 8-bit signed integer elements.

[`typealias simd_char8`](/documentation/simd/simd_char8)

A vector of eight 8-bit signed integer elements.

[`typealias simd_double1`](/documentation/simd/simd_double1)

A vector of one 64-bit floating-point element.

[`typealias simd_double2`](/documentation/simd/simd_double2)

A vector of two 64-bit floating-point elements.

[`typealias simd_double3`](/documentation/simd/simd_double3)

A vector of three 64-bit floating-point elements.

[`typealias simd_double4`](/documentation/simd/simd_double4)

A vector of four 64-bit floating-point elements.

[`typealias simd_double8`](/documentation/simd/simd_double8)

A vector of eight 64-bit floating-point elements.

[`typealias simd_float1`](/documentation/simd/simd_float1)

A vector of one 32-bit floating-point element.

[`typealias simd_float16`](/documentation/simd/simd_float16)

A vector of sixteen 32-bit floating-point elements.

[`typealias simd_float2`](/documentation/simd/simd_float2)

A vector of two 32-bit floating-point elements.

[`typealias simd_float3`](/documentation/simd/simd_float3)

A vector of three 32-bit floating-point elements.

[`typealias simd_float4`](/documentation/simd/simd_float4)

A vector of four 32-bit floating-point elements.

[`typealias simd_float8`](/documentation/simd/simd_float8)

A vector of eight 32-bit floating-point elements.

[`typealias simd_half1`](/documentation/simd/simd_half1)

A vector of one 16-bit floating-point element.

[`typealias simd_half16`](/documentation/simd/simd_half16)

A vector of sixteen 16-bit floating-point elements.

[`typealias simd_half2`](/documentation/simd/simd_half2)

A vector of two 16-bit floating-point elements.

[`typealias simd_half3`](/documentation/simd/simd_half3)

A vector of three 16-bit floating-point elements.

[`typealias simd_half32`](/documentation/simd/simd_half32)

A vector of thirty-two 16-bit floating-point elements.

[`typealias simd_half4`](/documentation/simd/simd_half4)

A vector of four 16-bit floating-point elements.

[`typealias simd_half8`](/documentation/simd/simd_half8)

A vector of eight 16-bit floating-point elements.

[`typealias simd_int1`](/documentation/simd/simd_int1)

A vector of one 32-bit signed integer element.

[`typealias simd_int16`](/documentation/simd/simd_int16)

A vector of sixteen 32-bit signed integer elements.

[`typealias simd_int2`](/documentation/simd/simd_int2)

A vector of two 32-bit signed integer elements.

[`typealias simd_int3`](/documentation/simd/simd_int3)

A vector of three 32-bit signed integer elements.

[`typealias simd_int4`](/documentation/simd/simd_int4)

A vector of four 32-bit signed integer elements.

[`typealias simd_int8`](/documentation/simd/simd_int8)

A vector of eight 32-bit signed integer elements.

[`typealias simd_long1`](/documentation/simd/simd_long1)

A vector of one 64-bit signed integer element.

[`typealias simd_long2`](/documentation/simd/simd_long2)

A vector of two 64-bit signed integer elements.

[`typealias simd_long3`](/documentation/simd/simd_long3)

A vector of three 64-bit signed integer elements.

[`typealias simd_long4`](/documentation/simd/simd_long4)

A vector of four 64-bit signed integer elements.

[`typealias simd_long8`](/documentation/simd/simd_long8)

A vector of eight 64-bit signed integer elements.

[`typealias simd_packed_char16`](/documentation/simd/simd_packed_char16)

A packed vector of sixteen 8-bit signed integer elements.

[`typealias simd_packed_char2`](/documentation/simd/simd_packed_char2)

A packed vector of two 8-bit signed integer elements.

[`typealias simd_packed_char32`](/documentation/simd/simd_packed_char32)

A packed vector of thirty-two 8-bit signed integer elements.

[`typealias simd_packed_char4`](/documentation/simd/simd_packed_char4)

A packed vector of four 8-bit signed integer elements.

[`typealias simd_packed_char64`](/documentation/simd/simd_packed_char64)

A packed vector of sixty-four 8-bit signed integer elements.

[`typealias simd_packed_char8`](/documentation/simd/simd_packed_char8)

A packed vector of eight 8-bit signed integer elements.

[`typealias simd_packed_double2`](/documentation/simd/simd_packed_double2)

A packed vector of two 64-bit floating-point elements.

[`typealias simd_packed_double4`](/documentation/simd/simd_packed_double4)

A packed vector of four 64-bit floating-point elements.

[`typealias simd_packed_double8`](/documentation/simd/simd_packed_double8)

A packed vector of eight 64-bit floating-point elements.

[`typealias simd_packed_float16`](/documentation/simd/simd_packed_float16)

A packed vector of sixteen 32-bit floating-point elements.

[`typealias simd_packed_float2`](/documentation/simd/simd_packed_float2)

A packed vector of two 32-bit floating-point elements.

[`typealias simd_packed_float4`](/documentation/simd/simd_packed_float4)

A packed vector of four 32-bit floating-point elements.

[`typealias simd_packed_float8`](/documentation/simd/simd_packed_float8)

A packed vector of eight 32-bit floating-point elements.

[`typealias simd_packed_half16`](/documentation/simd/simd_packed_half16)

[`typealias simd_packed_half2`](/documentation/simd/simd_packed_half2)

[`typealias simd_packed_half32`](/documentation/simd/simd_packed_half32)

[`typealias simd_packed_half4`](/documentation/simd/simd_packed_half4)

[`typealias simd_packed_half8`](/documentation/simd/simd_packed_half8)

[`typealias simd_packed_int16`](/documentation/simd/simd_packed_int16)

A packed vector of sixteen 32-bit signed integer elements.

[`typealias simd_packed_int2`](/documentation/simd/simd_packed_int2)

A packed vector of two 32-bit signed integer elements.

[`typealias simd_packed_int4`](/documentation/simd/simd_packed_int4)

A packed vector of four 32-bit signed integer elements.

[`typealias simd_packed_int8`](/documentation/simd/simd_packed_int8)

A packed vector of eight 32-bit signed integer elements.

[`typealias simd_packed_long2`](/documentation/simd/simd_packed_long2)

A packed vector of two 64-bit signed integer elements.

[`typealias simd_packed_long4`](/documentation/simd/simd_packed_long4)

A packed vector of four 64-bit signed integer elements.

[`typealias simd_packed_long8`](/documentation/simd/simd_packed_long8)

A packed vector of eight 64-bit signed integer elements.

[`typealias simd_packed_short16`](/documentation/simd/simd_packed_short16)

A packed vector of sixteen 16-bit signed integer elements.

[`typealias simd_packed_short2`](/documentation/simd/simd_packed_short2)

A packed vector of two 16-bit signed integer elements.

[`typealias simd_packed_short32`](/documentation/simd/simd_packed_short32)

A packed vector of thirty-two 16-bit signed integer elements.

[`typealias simd_packed_short4`](/documentation/simd/simd_packed_short4)

A packed vector of four 16-bit signed integer elements.

[`typealias simd_packed_short8`](/documentation/simd/simd_packed_short8)

A packed vector of eight 16-bit signed integer elements.

[`typealias simd_packed_uchar16`](/documentation/simd/simd_packed_uchar16)

A packed vector of sixteen 8-bit unsigned integer elements.

[`typealias simd_packed_uchar2`](/documentation/simd/simd_packed_uchar2)

A packed vector of two 8-bit unsigned integer elements.

[`typealias simd_packed_uchar32`](/documentation/simd/simd_packed_uchar32)

A packed vector of thirty-two 8-bit unsigned integer elements.

[`typealias simd_packed_uchar4`](/documentation/simd/simd_packed_uchar4)

A packed vector of four 8-bit unsigned integer elements.

[`typealias simd_packed_uchar64`](/documentation/simd/simd_packed_uchar64)

A packed vector of sixty-four 8-bit unsigned integer elements.

[`typealias simd_packed_uchar8`](/documentation/simd/simd_packed_uchar8)

A packed vector of eight 8-bit unsigned integer elements.

[`typealias simd_packed_uint16`](/documentation/simd/simd_packed_uint16)

A packed vector of sixteen 32-bit unsigned integer elements.

[`typealias simd_packed_uint2`](/documentation/simd/simd_packed_uint2)

A packed vector of two 32-bit unsigned integer elements.

[`typealias simd_packed_uint4`](/documentation/simd/simd_packed_uint4)

A packed vector of four 32-bit unsigned integer elements.

[`typealias simd_packed_uint8`](/documentation/simd/simd_packed_uint8)

A packed vector of eight 32-bit unsigned integer elements.

[`typealias simd_packed_ulong2`](/documentation/simd/simd_packed_ulong2)

A packed vector of two 64-bit unsigned integer element.

[`typealias simd_packed_ulong4`](/documentation/simd/simd_packed_ulong4)

A packed vector of four 64-bit unsigned integer elements.

[`typealias simd_packed_ulong8`](/documentation/simd/simd_packed_ulong8)

A packed vector of eight 64-bit unsigned integer elements.

[`typealias simd_packed_ushort16`](/documentation/simd/simd_packed_ushort16)

A packed vector of sixteen 16-bit unsigned integer elements.

[`typealias simd_packed_ushort2`](/documentation/simd/simd_packed_ushort2)

A packed vector of two 16-bit unsigned integer elements.

[`typealias simd_packed_ushort32`](/documentation/simd/simd_packed_ushort32)

A packed vector of thirty-two 16-bit unsigned integer elements.

[`typealias simd_packed_ushort4`](/documentation/simd/simd_packed_ushort4)

A packed vector of four 16-bit unsigned integer elements.

[`typealias simd_packed_ushort8`](/documentation/simd/simd_packed_ushort8)

A packed vector of eight 16-bit unsigned integer elements.

[`typealias simd_short1`](/documentation/simd/simd_short1)

A vector of one 16-bit signed integer element.

[`typealias simd_short16`](/documentation/simd/simd_short16)

A vector of sixteen 16-bit signed integer elements.

[`typealias simd_short2`](/documentation/simd/simd_short2)

A vector of two 16-bit signed integer elements.

[`typealias simd_short3`](/documentation/simd/simd_short3)

A vector of three 16-bit signed integer elements.

[`typealias simd_short32`](/documentation/simd/simd_short32)

A vector of thirty-two 16-bit signed integer elements.

[`typealias simd_short4`](/documentation/simd/simd_short4)

A vector of four 16-bit signed integer elements.

[`typealias simd_short8`](/documentation/simd/simd_short8)

A vector of eight 16-bit signed integer elements.

[`typealias simd_uchar1`](/documentation/simd/simd_uchar1)

A vector of one 8-bit unsigned integer element.

[`typealias simd_uchar16`](/documentation/simd/simd_uchar16)

A vector of sixteen 8-bit unsigned integer elements.

[`typealias simd_uchar2`](/documentation/simd/simd_uchar2)

A vector of two 8-bit unsigned integer elements.

[`typealias simd_uchar3`](/documentation/simd/simd_uchar3)

A vector of three 8-bit unsigned integer elements.

[`typealias simd_uchar32`](/documentation/simd/simd_uchar32)

A vector of thirty-two 8-bit unsigned integer elements.

[`typealias simd_uchar4`](/documentation/simd/simd_uchar4)

A vector of four 8-bit unsigned integer elements.

[`typealias simd_uchar64`](/documentation/simd/simd_uchar64)

A vector of sixty-four 8-bit unsigned integer elements.

[`typealias simd_uchar8`](/documentation/simd/simd_uchar8)

A vector of eight 8-bit unsigned integer elements.

[`typealias simd_uint1`](/documentation/simd/simd_uint1)

A vector of one 32-bit unsigned integer element.

[`typealias simd_uint16`](/documentation/simd/simd_uint16)

A vector of sixteen 32-bit unsigned integer elements.

[`typealias simd_uint2`](/documentation/simd/simd_uint2)

A vector of two 32-bit unsigned integer elements.

[`typealias simd_uint3`](/documentation/simd/simd_uint3)

A vector of three 32-bit unsigned integer elements.

[`typealias simd_uint4`](/documentation/simd/simd_uint4)

A vector of four 32-bit unsigned integer elements.

[`typealias simd_uint8`](/documentation/simd/simd_uint8)

A vector of eight 32-bit unsigned integer elements.

[`typealias simd_ulong1`](/documentation/simd/simd_ulong1)

A vector of one 64-bit unsigned integer element.

[`typealias simd_ulong2`](/documentation/simd/simd_ulong2)

A vector of two 64-bit unsigned integer elements.

[`typealias simd_ulong3`](/documentation/simd/simd_ulong3)

A vector of three 64-bit unsigned integer elements.

[`typealias simd_ulong4`](/documentation/simd/simd_ulong4)

A vector of four 64-bit unsigned integer elements.

[`typealias simd_ulong8`](/documentation/simd/simd_ulong8)

A vector of eight 64-bit unsigned integer elements.

[`typealias simd_ushort1`](/documentation/simd/simd_ushort1)

A vector of one 16-bit unsigned integer element.

[`typealias simd_ushort16`](/documentation/simd/simd_ushort16)

A vector of sixteen 16-bit unsigned integer elements.

[`typealias simd_ushort2`](/documentation/simd/simd_ushort2)

A vector of two 16-bit unsigned integer elements.

[`typealias simd_ushort3`](/documentation/simd/simd_ushort3)

A vector of three 16-bit unsigned integer elements.

[`typealias simd_ushort32`](/documentation/simd/simd_ushort32)

A vector of thirty-two 16-bit unsigned integer elements.

[`typealias simd_ushort4`](/documentation/simd/simd_ushort4)

A vector of four 16-bit unsigned integer elements.

[`typealias simd_ushort8`](/documentation/simd/simd_ushort8)

A vector of eight 16-bit unsigned integer elements.

---

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)