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

# simd_mix(_:_:_:)

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

## Declaration

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

## See Also

### Interpolation Functions

- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-6idlb.md)
- [smoothstep(_:edge0:edge1:)](simd/smoothstep(_:edge0:edge1:)-3gmrv.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-9jxxl.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-92fbo.md)
