init(previousDFT:count:direction:transformType:ofType:)
Initializes a new discrete Fourier transform structure.
Declaration
init(previousDFT: vDSP.DiscreteFourierTransform<T>?, count: Int, direction: vDSP.FourierTransformDirection, transformType: vDSP.DFTTransformType, ofType: T.Type) throwsParameters
- previousDFT:
A previous DFT instance to share data with.
- count:
The number of complex elements.
- transformType:
Specifies whether the forward transform is real-to-complex or complex-to-complex.
Discussion
The count parameter must be:
For split-complex real-to-complex:
2ⁿorf * 2ⁿ, wherefis3,5, or15andn >= 4.For split-complex complex-to-complex:
2ⁿorf * 2ⁿ, wherefis3,5, or15andn >= 3.For interleaved:
f * 2ⁿ, wherefis2,3,5,3x3,3x5, or5x5, andn>=2.