[Numpy-discussion] fourier with single precision

David Cournapeau david@ar.media.kyoto-u.ac...
Wed Aug 1 23:59:47 CDT 2007


Lars Friedrich wrote:
> Hello,
>
> is there a way to tell numpy.fft.fft2 to use complex64 instead of 
> complex128 as output dtype to speed the up transformation?
>   
As far as I can read from the fft code in numpy, only double is 
supported at the moment, unfortunately. Note that you can get some speed 
by using scipy.fftpack methods instead, if scipy is an option for you.

David


More information about the Numpy-discussion mailing list