One Logo Pool Ball
Accelerate · IOS API REFERENCE

vDSP.VectorizableDouble

struct · iOS 13.0+ · SDK 27.1

struct VectorizableDouble

Members (6)

static · iOS 13.0+

applySingle

TypeScript
static applySingle(source: Array<number>, destination: Array<number>, delays: SDKHandle, setup: SDKHandle, sectionCount: number, count: number): { $ret: null; $out: { "destination": Array<number> } }
Swift declaration
static func applySingle<U, V>(source: U, destination: inout V, delays: UnsafeMutablePointer<vDSP.VectorizableDouble.Scalar>, setup: vDSP_biquad_Setup, sectionCount: vDSP_Length, count: vDSP_Length) where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Double, V.Element == Double

Applies a single-channel biquad IIR filter.

Omit the output parameters from the call. The result contains $ret and $out, with destination inside $out.

static · iOS 13.0+

destroySetup

TypeScript
static destroySetupChannelCountBiquadSetup(channelCount: number, biquadSetup: SDKHandle): void
Swift declaration
static func destroySetup(channelCount: UInt, biquadSetup: OpaquePointer)

Destroys a setup object.

static · iOS 13.0+ · Deprecated

destroySetup

TypeScript
static destroySetup(setup: SDKHandle): void
Swift declaration
static func destroySetup(_ setup: OpaquePointer)

Releases a DFT setup object.

static · iOS 13.0+ · Deprecated

makeDFTSetup

TypeScript
static makeDFTSetup(previous: (vDSP_DFT<number>) | null, count: number, direction: vDSP_FourierTransformDirection, transformType: vDSP_DFTTransformType): (SDKHandle) | null
Swift declaration
static func makeDFTSetup<T>(previous: vDSP.DFT<T>? = nil, count: Int, direction: vDSP.FourierTransformDirection, transformType: vDSP.DFTTransformType) -> OpaquePointer? where T : vDSP_FloatingPointDiscreteFourierTransformable

Returns a data structure for use with to perform a discrete Fourier transform - Parameter previous: a previous vDSP_DFT instance to share data with. - Parameter count: the number of real elements to be transformed. - Parameter direction: Specifies the transform direction. - Parameter transformType: Specficies whether to forward transform is real-to-complex or complex-to-complex.

static · iOS 13.0+

makeBiquadSetup

TypeScript
static makeBiquadSetup(channelCount: number, coefficients: Array<number>, sectionCount: number): (SDKHandle) | null
Swift declaration
static func makeBiquadSetup(channelCount: vDSP_Length, coefficients: [Double], sectionCount: vDSP_Length) -> OpaquePointer?

Returns a data structure that contains precalculated data for use by the cascaded biquad IIR filter function.

static · iOS 13.0+ · Deprecated

transform

TypeScript
static transform(dftSetup: SDKHandle, inputReal: Array<number>, inputImaginary: Array<number>, outputReal: Array<number>, outputImaginary: Array<number>): { $ret: null; $out: { "outputReal": Array<number>; "outputImaginary": Array<number> } }
Swift declaration
static func transform<U, V>(dftSetup: OpaquePointer, inputReal: U, inputImaginary: U, outputReal: inout V, outputImaginary: inout V) where U : AccelerateBuffer, V : AccelerateMutableBuffer, U.Element == Double, V.Element == Double

Computes an out-of-place single-precision real discrete Fourier transform. - Parameter dftSetup: A DCT setup object. - Parameter inputReal: Input vector - real part. - Parameter inputImaginary: Input vector - imaginary part. - Parameter outputReal: Output vector - real part. - Parameter outputImaginary: Output vector - imaginary part.

Omit the output parameters from the call. The result contains $ret and $out, with outputReal, outputImaginary inside $out.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

vDSP.VectorizableDouble.applyMulti(setup:pInputs:pOutputs:count:)

Nested memory pointers cannot cross the bridge.

All Accelerate types →