---
title: "simd_min(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_min(_:_:)-3focz"
---

# simd_min(_:_:)

Returns the minimum value of each element in a vector.

## Declaration

```swift
func simd_min(_ x: simd_int2, _ y: simd_int2) -> simd_int2
```

## See Also

### Extrema Functions

- [simd_max(_:_:)](simd/simd_max(_:_:)-2xs4j.md)
- [max(_:_:)](simd/max(_:_:)-9xpv0.md)
- [max(_:_:)](simd/max(_:_:)-9uijf.md)
- [min(_:_:)](simd/min(_:_:)-jyi5.md)
- [min(_:_:)](simd/min(_:_:)-goji.md)
