Provides NumPy-compatible FFT functions (fft, ifft, rfft, irfft, hfft, ihfft, dct, idct) that are accelerated by Intel Math Kernel Library (MKL) for improved performance on Intel CPUs. Current version 2.2.1 requires Python 3.10-3.14. Release cadence is irregular, tied to Intel's updates.
pip install mkl-fftNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: compute FFT of a 1D array using MKL-accelerated function.
Update imports: replace `import mkl_fft; mkl_fft.fft.fft(a)` with `mkl_fft.fft(a)`.
Always verify output against numpy.fft if exact numerical equivalence is required, or document that mkl-fft may produce slightly different results.
Check mkl_fft documentation for supported keyword arguments; wrap calls to numpy.fft for unsupported features.
Upgrade Python to >=3.10 if using mkl-fft 2.2.x.
Run `pip install mkl-fft` in the correct Python environment.
Install MKL via conda (`conda install mkl`) or Intel DAAL. Alternatively, use pip's wheel which bundles MKL on some platforms.