[Haskell-cafe] Vector (or List) to CArray?

Dominic Espinosa dcespin at fastmail.fm
Thu Jan 19 19:15:52 CET 2012


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.



More information about the Haskell-Cafe mailing list