
12 May
2015
12 May
'15
11:19 a.m.
On 05/11/2015 11:50 PM, briand@aracnet.com wrote:
FFTWReal maps to RealFloat which i found, but i haven't found anything that will take a RealFloat and give me a Double. Double` is `RealFloat`, so it is `Fractional`. Every FFTWReal is a `Real` too, so you can use realToFrac to map from FFTWReal to Double:
fftwRealToDouble :: FFTWReal r => r -> Double fftwRealToDouble = realToFrac Regards. -- Leza Morais Lutonda, Lemol-C http://lemol.github.io 50 Aniversario de la Cujae. Inaugurada por Fidel el 2 de diciembre de 1964 http://cujae.edu.cu