<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vvpowsf(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vvpowsf"
  },
  "title" : "vvpowsf(_:_:_:_:)"
}
-->

# vvpowsf(_:_:_:_:)

Calculates, element-wise, x**y for a vector x and a scalar y.

```
func vvpowsf(_: UnsafeMutablePointer<Float>, _: UnsafePointer<Float>, _: UnsafePointer<Float>, _: UnsafePointer<Int32>)
```

## Discussion

### Parameters

- z: (output) Output vector of size `*n`. `z[i]` is set to `pow(x[i], y)`.
- y: (input)  Input scalar, exponent in calculation.
- x: (input)  Input vector of size `*n`, base in calculation.
- n: (input)  The number of elements in the vectors `x`, `y` and `z`

---

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)