On 24/05/07, Benjamin M. Schwartz <[EMAIL PROTECTED]> wrote:

> I know that FFTW can be compiled to run in single precision.  What would it 
> take
> to make NumPy use a single-precision FFT library?
>
> If absolutely necessary, it might be possible to ship a patched version of
> NumPy, but any other solution would be preferable.  A compile-time 
> configuration
> option in NumPy would be ideal.

As a less last-resort option, you could just write a separate ctypes
wrapper for some single-precision FFT library (FFTW in single mode,
say), and provide it as singlefft. This is of course not as nice as
Robert Kern's suggestion of making single-precision FFTs an integral
part of numpy, but it would solve your problem and be fairly
straightforward.

Anne
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to