Java中的最新FFTW包装器 [英] Recent FFTW wrapper in Java

查看:231
本文介绍了Java中的最新FFTW包装器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为最新版本的 FFTW 寻找一个最小的Java包装器. FFTW网站上列出的包装器已经过时( jfftw-1.2.zip )或包含太多多余的内容( Shared Scientific Toolbox ). Google搜索显示 JFFTW3 ,它看起来很有希望,但下载链接已损坏(有人有镜子吗?)

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?)

对于那些想要纯Java FFT库的人来说, JTransforms 看起来非常不错.我更喜欢使用FFTW,因为它的速度快两倍,并且可以处理d> 3的任意尺寸.

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.

推荐答案

我最终使用了 JNAerator 从头文件fftw3.h自动生成JNA绑定.结果是可以在Github上作为要点使用.要点(在底部)还包括一个方便的Scala界面,用于对任意尺寸的真实变换.

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.

这篇关于Java中的最新FFTW包装器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆