---
title: simd_int4
framework: simd
role: symbol
role_heading: Type Alias
path: simd/simd_int4
---

# simd_int4

A vector of four 32-bit signed integer elements.

## Declaration

```swift
typealias simd_int4 = SIMD4<Int32>
```

## Topics

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

- [simd_make_int4(_:)](simd/simd_make_int4(_:)-1suou.md)
- [simd_make_int4(_:)](simd/simd_make_int4(_:)-1wbev.md)
- [simd_make_int4(_:)](simd/simd_make_int4(_:)-1kx2w.md)
- [simd_make_int4(_:)](simd/simd_make_int4(_:)-2qk04.md)
- [simd_make_int4(_:)](simd/simd_make_int4(_:)-2rtb0.md)
- [simd_make_int4(_:_:)](simd/simd_make_int4(_:_:)-4phxy.md)
- [simd_make_int4_undef(_:)](simd/simd_make_int4_undef(_:)-5g92f.md)
- [simd_make_int4_undef(_:)](simd/simd_make_int4_undef(_:)-5dw9q.md)

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

- [simd_make_int4(_:)](simd/simd_make_int4(_:)-7vwve.md)
- [simd_make_int4(_:_:_:_:)](simd/simd_make_int4(_:_:_:_:).md)
- [simd_make_int4_undef(_:)](simd/simd_make_int4_undef(_:)-2wt72.md)

### Functions to Create Four-Element Vectors From Combinations of Vectors and Scalar Values

- [simd_make_int4(_:_:_:)](simd/simd_make_int4(_:_:_:)-7cjm7.md)
- [simd_make_int4(_:_:)](simd/simd_make_int4(_:_:)-7rrqd.md)
- [simd_make_int4(_:_:_:)](simd/simd_make_int4(_:_:_:)-9tjlm.md)
- [simd_make_int4(_:_:_:)](simd/simd_make_int4(_:_:_:)-8of8y.md)
- [simd_make_int4(_:_:)](simd/simd_make_int4(_:_:)-6p0ui.md)

### Common Functions

- [simd_abs(_:)](simd/simd_abs(_:)-81glw.md)
- [abs(_:)](simd/abs(_:)-1b3qo.md)
- [simd_clamp(_:_:_:)](simd/simd_clamp(_:_:_:)-50obl.md)
- [clamp(_:min:max:)](simd/clamp(_:min:max:)-5if3n.md)
- [clamp(_:min:max:)](simd/clamp(_:min:max:)-5f538.md)
- [simd_equal(_:_:)](simd/simd_equal(_:_:)-2rypj.md)

### Reduce Functions

- [simd_reduce_min(_:)](simd/simd_reduce_min(_:)-4uaza.md)
- [reduce_min(_:)](simd/reduce_min(_:)-6npco.md)
- [simd_reduce_max(_:)](simd/simd_reduce_max(_:)-4qjkm.md)
- [reduce_max(_:)](simd/reduce_max(_:)-5afy1.md)
- [simd_reduce_add(_:)](simd/simd_reduce_add(_:)-2ybq8.md)
- [reduce_add(_:)](simd/reduce_add(_:)-89ptt.md)

### Extrema Functions

- [simd_max(_:_:)](simd/simd_max(_:_:)-51txy.md)
- [max(_:_:)](simd/max(_:_:)-696e3.md)
- [max(_:_:)](simd/max(_:_:)-6cb9k.md)
- [simd_min(_:_:)](simd/simd_min(_:_:)-1m8ma.md)
- [min(_:_:)](simd/min(_:_:)-5uuf6.md)
- [min(_:_:)](simd/min(_:_:)-5y1sd.md)

### Logic and Bitwise Functions

- [simd_any(_:)](simd/simd_any(_:)-6cp1b.md)
- [simd_all(_:)](simd/simd_all(_:)-1jw6t.md)
- [simd_bitselect(_:_:_:)](simd/simd_bitselect(_:_:_:)-27mh1.md)

### Alternative Type Alias

- [int4](simd/int4.md)
- [vector_int4](simd/vector_int4.md)

## See Also

### Vector Data Types

- [simd_int1](simd/simd_int1.md)
- [simd_int2](simd/simd_int2.md)
- [simd_int3](simd/simd_int3.md)
- [simd_int8](simd/simd_int8.md)
- [simd_int16](simd/simd_int16.md)
