<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/step(_:edge:)-2qauk",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "s:4simd4step_4edges5SIMD2VySdGAF_AFtF"
  },
  "title" : "step(_:edge:)"
}
-->

# step(_:edge:)

Returns zero for each element in a vector less than a specified edge, and otherwise returns one.

```
func step(_ x: SIMD2<Double>, edge: SIMD2<Double>) -> SIMD2<Double>
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)