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

# mix(_:_:t:)

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

## Declaration

```swift
func mix(_ x: SIMD3<Double>, _ y: SIMD3<Double>, t: Double) -> SIMD3<Double>
```

## See Also

### Interpolation Functions

- [simd_mix(_:_:_:)](simd/simd_mix(_:_:_:)-46dv1.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-5ifg3.md)
- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-9hwr9.md)
- [smoothstep(_:edge0:edge1:)](simd/smoothstep(_:edge0:edge1:)-5ih1o.md)
