
19 Jan
2012
19 Jan
'12
2:06 p.m.
On Thu, Jan 19, 2012 at 1:15 PM, Dominic Espinosa
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.
Thanks.
I've not tried this, but I would expect to be able to use http://hackage.haskell.org/package/hsndfile-vector-0.4.0, and then use the ForeignPtr that lives inside the Vector the to build a CArray. Anthony