Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このフロートの配列をこのように作成しました
var myArray : [Float] = []
この配列には、実部である 256 個の要素があります。すべての虚数部はゼロです。
私はする必要があります
vDSP_ctoz(anArray, 2, &output, 1, vDSP_Length(n/2))
しかし、この APIanArrayはUnsafePointer<DSPComplex>
anArray
UnsafePointer<DSPComplex>
myArrayこの形式に変換するにはどうすればよいですか?
myArray