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

# simd_mix(_:_:_:)

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

## Declaration

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

## See Also

### Interpolation Functions

- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-e0ov.md)
- [smoothstep(_:edge0:edge1:)](simd/smoothstep(_:edge0:edge1:)-2wqo9.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-7bjg5.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-3hfwb.md)
