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

# simd_mix(_:_:_:)

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

## Declaration

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

## See Also

### Interpolation Functions

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