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