
15 May
2015
15 May
'15
1:32 a.m.
On Thu, 14 May 2015 02:31:55 -0400
Leza Morais Lutonda
arrayToVector = V.fromList . elems
Success. arrayToVector :: FFTWReal r => CArray Int (Complex r) -> V.Vector (Complex r) is the correct type declaration. It seems that I am too eager to assign Double to places where `r` would work, and it's entirely due to an obviously glaring whole in my understanding of type classes. I kind of thought i understood them, but i obviously don't, no I need to go figure that out. I also need to spend time to understand exactly how that type declaration solved the error messages. Thanks very much for your help, I really appreciate it ! Brian