Recent FFTW wrapper in Java

点点圈 提交于 2019-12-03 17:21:06

问题


I'm seeking a minimal Java wrapper for a recent version of FFTW. The wrappers listed on the FFTW website are either out of date (jfftw-1.2.zip) or contain too much extra stuff (Shared Scientific Toolbox). A Google search suggests JFFTW3, which looks promising, but the download link is broken (does anybody have a mirror?)

For those who want a pure Java FFT library, JTransforms looks very good. I'd prefer to use FFTW because it's about twice as fast, and it handles arbitrary dimensions d > 3.


回答1:


I ended up using JNAerator to automatically generate JNA bindings from the header file fftw3.h. The result is available as a gist on Github. The gist (at the bottom) also includes a convenient Scala interface for real transforms of arbitrary dimension.



来源:https://stackoverflow.com/questions/5775108/recent-fftw-wrapper-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!