From what I understood, an UnsafePointer presents the pointee as immutable and an UnsafeMutablePointer presents the pointee as mutable. But the signature for the vDSP function vDSP_zrvmul is as follows:
func vDSP_zrvmul(_ __A: UnsafePointer<DSPSplitComplex>,
_ __IA: vDSP_Stride,
_ __B: UnsafePointer<Float>,
_ __IB: vDSP_Stride,
_ __C: UnsafePointer<DSPSplitComplex>,
_ __IC: vDSP_Stride,
_ __N: vDSP_Length)
__C
is supposed to be the output vector, but it's not mutable… what am I missing? Thanks for reading.