
19 Jan
2012
19 Jan
'12
1:29 p.m.
On 19.01.2012 22:15, Dominic Espinosa wrote:
Hello,
I'm trying to use the fftw binding, and its functions operate on CArrays of Complex. My data is coming from hsndfile, so it starts out as a Vector of Double. How do I convert this data to CArray? The API functions in the CArray module don't seem to indicate how.
I think only way is to go though lists. CArray and vector package use different primitives.
listArray (0, V.length v) $ V.toList v