<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/simd_ushort16",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "c:@T@simd_ushort16"
  },
  "title" : "simd_ushort16"
}
-->

# simd_ushort16

A vector of sixteen 16-bit unsigned integer elements.

```
typealias simd_ushort16 = SIMD16<UInt16>
```

## Topics

### Functions to Create Sixteen-Element Vectors From Other Vectors

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-5h1oe)

Returns a new vector from the specified two-element vector, and other elements set to zero.

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-5dtrr)

Returns a new vector from the specified three-element vector, and other elements set to zero.

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-4vumc)

Returns a new vector from the specified four-element vector, and other elements set to zero.

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-4h3f4)

Returns a new vector from the specified eight-element vector, and other elements set to zero.

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-43b0g)

Returns a new vector from the specified vector.

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-5wstb)

Returns a new vector by truncating the specified thirty two-element vector.

[`simd_make_ushort16(_:_:)`](/documentation/simd/simd_make_ushort16(_:_:))

Returns a new vector from the specified vectors.

[`vector16`](/documentation/simd/vector16-4zacu)

Returns a new vector from the specified vectors.

[`simd_make_ushort16_undef(_:)`](/documentation/simd/simd_make_ushort16_undef(_:)-3jyo)

Returns a new vector from the specified two-element vector, and other elements undefined.

[`simd_make_ushort16_undef(_:)`](/documentation/simd/simd_make_ushort16_undef(_:)-8phl)

Returns a new vector from the specified three-element vector, and other elements undefined.

[`simd_make_ushort16_undef(_:)`](/documentation/simd/simd_make_ushort16_undef(_:)-bxgi)

Returns a new vector from the specified four-element vector, and other elements undefined.

[`simd_make_ushort16_undef(_:)`](/documentation/simd/simd_make_ushort16_undef(_:)-957cx)

Returns a new vector from the specified eight-element vector, and other elements undefined.

### Functions to Create Sixteen-Element Vectors From Scalar Values

[`simd_make_ushort16(_:)`](/documentation/simd/simd_make_ushort16(_:)-6sqah)

Returns a new vector with the first element set to a scalar value, and other elements set to zero.

[`simd_make_ushort16_undef(_:)`](/documentation/simd/simd_make_ushort16_undef(_:)-6iivl)

Returns a new vector with the first element set to a scalar value, and other elements undefined.

### Functions to Create Sixteen-Element Vectors From Vectors of Other Types

[`simd_ushort`](/documentation/simd/simd_ushort-46anm)

Returns a new vector from the specified vector of 8-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-46khe)

Returns a new vector from the specified vector of 8-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-465ki)

Returns a new vector from the specified vector of 16-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-46foy)

Returns a new vector from the specified vector of 16-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-468rq)

Returns a new vector from the specified vector of 32-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-46ism)

Returns a new vector from the specified vector of 32-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-46ivu)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

### Functions to Perform Saturating Conversion From Vectors of Other Types

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3mcov)

Returns a new vector from the specified vector of 8-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3mmin)

Returns a new vector from the specified vector of 8-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3m7r3)

Returns a new vector from the specified vector of 16-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3mhof)

Returns a new vector from the specified vector of 16-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3m9j7)

Returns a new vector from the specified vector of 32-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3mjb7)

Returns a new vector from the specified vector of 32-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-3mlfl)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

### Common Functions

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-5hezy)

Returns each element in a vector clamped to a specified range.

[`simd_equal(_:_:)`](/documentation/simd/simd_equal(_:_:)-9luz4)

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

### Reduce Functions

[`simd_reduce_min(_:)`](/documentation/simd/simd_reduce_min(_:)-3d6c7)

Returns the miniumum value in a vector.

[`simd_reduce_max(_:)`](/documentation/simd/simd_reduce_max(_:)-8isf9)

Returns the maximum value in a vector.

[`simd_reduce_add(_:)`](/documentation/simd/simd_reduce_add(_:)-7n920)

Returns the sum of all elements in a vector.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-99clp)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-1332e)

Returns the maximum value of each element in a vector.

### Logic and Bitwise Functions

[`simd_any(_:)`](/documentation/simd/simd_any(_:)-938p6)

[`simd_all(_:)`](/documentation/simd/simd_all(_:)-iffg)

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-144l9)

Returns a vector that contains elements from either the first or second parameter, based on the corresponding element in the third parameter.

### Alternative Type Alias

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



---

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)