imagp
TypeScriptget imagp(): SDKHandleSwift declarationvar imagp: UnsafeMutablePointer<Float>struct · SDK 27.1
struct DSPSplitComplexget imagp(): SDKHandleSwift declarationvar imagp: UnsafeMutablePointer<Float>set imagp(value: SDKHandle)Swift declarationvar imagp: UnsafeMutablePointer<Float>get realp(): SDKHandleSwift declarationvar realp: UnsafeMutablePointer<Float>set realp(value: SDKHandle)Swift declarationvar realp: UnsafeMutablePointer<Float>static initFromInputArrayRealPartsImaginaryParts(inputArray: Array<number>, realParts: Array<number>, imaginaryParts: Array<number>): { $ret: DSPSplitComplex; $out: { "realParts": Array<number>; "imaginaryParts": Array<number> } }Swift declarationinit(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.
static initRealpImagp(realp: SDKHandle, imagp: SDKHandle): DSPSplitComplexSwift declarationinit(realp: UnsafeMutablePointer<Float>, imagp: UnsafeMutablePointer<Float>)No declarations were skipped in this snapshot.