One Logo Pool Ball
Accelerate · IOS API REFERENCE

DSPSplitComplex

struct · SDK 27.1

struct DSPSplitComplex

Members (6)

get

imagp

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

imagp

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

realp

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

realp

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

init

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

Creates a new `DSPSplitComplex` 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 single-precision values: var reals: [Float] = [ ... ] var imaginaries: [Float] = [ ... ] reals.withUnsafeMutableBufferPointer { realPtr in imaginaries.withUnsafeMutableBufferPointer { imgPtr in var splitComplex = DSPSplitComplex(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): DSPSplitComplex
Swift declaration
init(realp: UnsafeMutablePointer<Float>, imagp: UnsafeMutablePointer<Float>)

Skipped declarations

No declarations were skipped in this snapshot.

All Accelerate types →