FFTW.NET icon indicating copy to clipboard operation
FFTW.NET copied to clipboard

use fftw with single-precision

Open chenzhu99 opened this issue 6 years ago • 1 comments

Can I use fftw.net with single-precision? I tried it with Nuget download but seems only support double precision. Is there a single-precision version?

Thanks

chenzhu99 avatar Jan 17 '20 22:01 chenzhu99

I also wanted single-precision, but I can see that FFTW.NET it only works with double-precision.

FFTW itself works with single precision. To use single precision, you need to use functions beginning with fftwf_ rather than fftw_, but he is not referencing any of those fftwf_ functions in the P-Invoke layer around here: https://github.com/ArgusMagnus/FFTW.NET/blob/5cf28c6e094d2c15b97cfbb39b72f12788d586ae/FFTW.NET/FftwInterop.tt#L20.

adaviding avatar May 04 '22 23:05 adaviding