<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/simd-vector-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "SIMD Vector Types"
}
-->

# SIMD Vector Types

Work with fixed-width vectors of fixed-width numeric types of different sizes.

## Topics

### SIMD Vectors

[`SIMD2`](/documentation/Swift/SIMD2)

A vector of two scalar values.

[`SIMD3`](/documentation/Swift/SIMD3)

A vector of three scalar values.

[`SIMD4`](/documentation/Swift/SIMD4)

A vector of four scalar values.

[`SIMD8`](/documentation/Swift/SIMD8)

A vector of eight scalar values.

[`SIMD16`](/documentation/Swift/SIMD16)

A vector of 16 scalar values.

[`SIMD32`](/documentation/Swift/SIMD32)

A vector of 32 scalar values.

[`SIMD64`](/documentation/Swift/SIMD64)

A vector of 64 scalar values.

### Supporting Types

[`SIMD`](/documentation/Swift/SIMD)

A SIMD vector of a fixed number of elements.

[`SIMDScalar`](/documentation/Swift/SIMDScalar)

A type that can be used as an element in a SIMD vector.

[`SIMDStorage`](/documentation/Swift/SIMDStorage)

A type that can function as storage for a SIMD vector type.

[`SIMDMask`](/documentation/Swift/SIMDMask)

### Supporting Functions

[`all(_:)`](/documentation/Swift/all(_:))

True if every lane of mask is true.

[`any(_:)`](/documentation/Swift/any(_:))

True if any lane of mask is true.

[`pointwiseMax(_:_:)`](/documentation/Swift/pointwiseMax(_:_:)-29hn2)

The lanewise maximum of two vectors.

[`pointwiseMax(_:_:)`](/documentation/Swift/pointwiseMax(_:_:)-2k6er)

The lanewise maximum of two vectors.

[`pointwiseMin(_:_:)`](/documentation/Swift/pointwiseMin(_:_:)-39txi)

The lanewise minimum of two vectors.

[`pointwiseMin(_:_:)`](/documentation/Swift/pointwiseMin(_:_:)-8v95p)

The lanewise minimum of two vectors.



---

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)