<!--
{
  "availability" : [
    "iOS: 4.0.0 - 9.0.0",
    "iPadOS: 4.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.2.0 - 10.11.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vDSP_fft5_zop",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@F@vDSP_fft5_zop"
  },
  "title" : "vDSP_fft5_zop"
}
-->

# vDSP_fft5_zop

Computes a single-precision out-of-place radix-5 complex FFT, either forward or inverse.

```
extern void vDSP_fft5_zop(FFTSetup __Setup, const DSPSplitComplex *__A, vDSP_Stride __IA, const DSPSplitComplex *__C, vDSP_Stride __IC, vDSP_Length __Log2N, FFTDirection __Direction);
```

## Parameters

`__Setup`

A setup object returned from a previous call to <doc://com.apple.documentation/documentation/kernel/1580009-vdsp_create_fftsetup>. <doc://com.apple.documentation/documentation/kernel/1645051-anonymous/kfftradix5> must be specified in the call to `vDSP_create_fftsetup`. `setup` is preserved for reuse.

`__A`

Complex input vector.
  
  > Note:
  > The input data may be modified.

`__IA`

Stride between elements in `A`. The value of `IA` should be 1 for best performance.

`__C`

Complex output vector.

`__IC`

Stride between elements in `C`. The value of `IC` should be 1 for best performance.

`__Log2N`

The base 2 exponent of the number of elements to process in a single input signal. `Log2N` must be between 3 and 15, inclusive.

`__Direction`

A forward/inverse directional flag, which must specify <doc://com.apple.documentation/documentation/kernel/1645049-anonymous/kfftdirection_forward> (+1) or <doc://com.apple.documentation/documentation/kernel/1645049-anonymous/kfftdirection_inverse> (-1).

## Discussion

The number of input and output values processed equals 5 times the power of 2 specified by parameter `Log2N`.

This performs the following operation:

![mathematical formula](images/com.apple.accelerate/media-2557819@2x.png)

where F is `Direction`, j is the square root of `-1`, and N is two raised to the power of `Log2N`.

See also functions <doc://com.apple.documentation/documentation/kernel/1580009-vdsp_create_fftsetup>, <doc://com.apple.documentation/documentation/kernel/1579978-vdsp_destroy_fftsetup>, and [vDSP Programming Guide](https://developer.apple.com/library/archive/documentation/Performance/Conceptual/vDSP_Programming_Guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40005147).

---

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)