One Logo Pool Ball
Accelerate · IOS API REFERENCE

DSPDoubleSplitComplex

struct · SDK 27.1

struct DSPDoubleSplitComplex

Members (6)

get

imagp

TypeScript
get imagp(): SDKHandle
Swift declaration
var imagp: UnsafeMutablePointer<Double>
set

imagp

TypeScript
set imagp(value: SDKHandle)
Swift declaration
var imagp: UnsafeMutablePointer<Double>
get

realp

TypeScript
get realp(): SDKHandle
Swift declaration
var realp: UnsafeMutablePointer<Double>
set

realp

TypeScript
set realp(value: SDKHandle)
Swift declaration
var realp: UnsafeMutablePointer<Double>
init · iOS 13.0+ · Deprecated

init

TypeScript
static initFromInputArrayRealPartsImaginaryParts(inputArray: Array<number>, realParts: Array<number>, imaginaryParts: Array<number>): { $ret: DSPDoubleSplitComplex; $out: { "realParts": Array<number>; "imaginaryParts": Array<number> } }
Swift declaration
init(fromInputArray inputArray: [Double], realParts: inout [Double], imaginaryParts: inout [Double])

Creates a new `DSPDoubleSplitComplex` structure from a real array not in even-odd split configuration. - Parameter inputArray: The source array of contiguous values. - Parameter realParts: An array of real parts of the complex numbers. - Parameter imaginaryParts: An array of imaginary parts of the complex numbers. Use `withUnsafeMutableBufferPointer` to pass pointers to your collections of real and imaginary values to the `DSPSplitComplex` initializer. The `DSPSplitComplex` structure is valid only during the execution of the closure. Do not store or return the structure for later use. The following code shows an example of how to create a split complex structure from two arrays of double-precision values: var reals: [Double] = [ ... ] var imaginaries: [Double] = [ ... ] reals.withUnsafeMutableBufferPointer { realPtr in imaginaries.withUnsafeMutableBufferPointer { imgPtr in var splitComplex = DSPDoubleSplitComplex(realp: realPtr.baseAddress!, imagp: imgPtr.baseAddress!) // Perform operations using `splitComplex`. } }

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

init

init

TypeScript
static initRealpImagp(realp: SDKHandle, imagp: SDKHandle): DSPDoubleSplitComplex
Swift declaration
init(realp: UnsafeMutablePointer<Double>, imagp: UnsafeMutablePointer<Double>)

Skipped declarations

No declarations were skipped in this snapshot.

All Accelerate types →