---
title: "smoothstep(_:edge0:edge1:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/smoothstep(_:edge0:edge1:)-2wqo9"
---

# smoothstep(_:edge0:edge1:)

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

## Declaration

```swift
func smoothstep(_ x: SIMD2<Double>, edge0: SIMD2<Double>, edge1: SIMD2<Double>) -> SIMD2<Double>
```

## See Also

### Interpolation Functions

- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-e0ov.md)
- [simd_mix(_:_:_:)](simd/simd_mix(_:_:_:)-v083.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-7bjg5.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-3hfwb.md)
