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

# simd_mix(_:_:_:)

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

## Declaration

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

## See Also

### Interpolation Functions

- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-5839l.md)
