---
title: "simd_mix(_:_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_mix(_:_:_:)-5fpv1"
---

# simd_mix(_:_:_:)

Returns an element-wise linearly interpolated value between two vectors.

## Declaration

```swift
func simd_mix(_ x: simd_float4, _ y: simd_float4, _ t: simd_float4) -> simd_float4
```

## See Also

### Interpolation Functions

- [mix(_:_:t:)](simd/mix(_:_:t:)-2uufx.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-8qz2g.md)
- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-33ugy.md)
- [smoothstep(_:edge0:edge1:)](simd/smoothstep(_:edge0:edge1:)-3gx0q.md)
