---
title: "init(previous:count:direction:transformType:ofType:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/vdsp/dft/init(previous:count:direction:transformtype:oftype:)"
---

# init(previous:count:direction:transformType:ofType:)

Initializes a new discrete Fourier transform instance.

## Declaration

```swift
init?(previous: vDSP.DFT<T>? = nil, count: Int, direction: vDSP.FourierTransformDirection, transformType: vDSP.DFTTransformType, ofType: T.Type)
```
