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

# mix(_:_:t:)

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

## Declaration

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

## See Also

### Interpolation Functions

- [simd_mix(_:_:_:)](simd/simd_mix(_:_:_:)-bvhh.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-2z3yo.md)
- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-7iziv.md)
- [smoothstep(_:edge0:edge1:)](simd/smoothstep(_:edge0:edge1:)-43udr.md)
