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

# smoothstep(_:edge0:edge1:)

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

## Declaration

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

## See Also

### Interpolation Functions

- [simd_mix(_:_:_:)](simd/simd_mix(_:_:_:)-bvhh.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-2z3yo.md)
- [mix(_:_:t:)](simd/mix(_:_:t:)-14tli.md)
- [simd_smoothstep(_:_:_:)](simd/simd_smoothstep(_:_:_:)-7iziv.md)
