---
title: "mix(_:_:t:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/mix(_:_:t:)-2uufx"
---

# mix(_:_:t:)

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

## Declaration

```swift
func mix(_ x: SIMD4<Float>, _ y: SIMD4<Float>, t: Float) -> SIMD4<Float>
```

## See Also

### Interpolation Functions

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