GNU GSL 和Windows 上的 MATLAB

发布于 2024-12-02 01:07:27 字数 1432 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

趴在窗边数星星i 2024-12-09 01:07:27

如果您只是做 FFT 和其他类似的事情,您是否考虑过 Intel 的 MKLAMD 的 ACML[PDF]?两者都有 FFT。恕我直言,仅仅为了获得 FFT 例程而付费购买 Matlab 是愚蠢的。只需使用良好的高性能 C++/Fortran 库即可。

总而言之,这位先生维护着 GSL 的修补版本,使用 Visual Studio 进行编译

如果您使用 GSL,则必须 GPL 许可

如果我想分发使用 GSL 的应用程序,我需要使用什么许可证?
GNU 通用公共许可证 (GPL)。
商业用户的底线:

GSL can be used internally ("in-house") without restriction, but only redistributed in other software that is under the GNU GPL.

英特尔的 MKL 拥有许可协议,您可能就是这样的 正在寻找。

我可以随我的应用程序重新分发英特尔数学核心函数库吗?
是的。当您购买英特尔 MKL 时,您将获得随您的应用程序重新分发英特尔 MKL 计算部分的权利。英特尔 MKL 的评估版本不包括再分发权利。带有产品许可证的英特尔 MKL 发行版中的 redist.txt 中提供了可重新分发的文件列表。

我对 ACML 的许可证不太确定,但我相信分发它需要花钱。

If you are just doing FFT, and other such things, have you thought about Intel's MKL or AMD's ACML[PDF]? Both have FFT. Paying for Matlab just to get FFT routines is, IMHO, silly. Just use a good high performance C++/Fortran library.

That all being said, this gentleman maintains a patched versions of GSL that compiles with Visual Studio

If you use GSL, then you have to license under GPL

If I wanted to distribute an application which uses GSL, what license would I need to use?
The GNU General Public License (GPL).
The bottom line for commercial users:

GSL can be used internally ("in-house") without restriction, but only redistributed in other software that is under the GNU GPL.

Intel's MKL has a licensing agreement that is probably what you are looking for.

Can I redistribute the Intel Math Kernel Library with my application?
Yes. When you purchase Intel MKL, you receive rights to redistribute computational portions of Intel MKL with your application. The evaluation versions of Intel MKL do not include redistribution rights. The list of files that can be redistributed is provided in redist.txt included in the Intel MKL distribution with product license.

I'm not overly certain about ACML's license, but I believe it costs money to distribute.

青衫儰鉨ミ守葔 2024-12-09 01:07:27
  1. 您不需要 Cygwin 来使用 GSL,只需构建它即可。您需要使用 MinGW GCC 来执行此操作,并使用 Cygwin 或 MSYS 作为 POSIX shell 环境来使用“配置”来构建它。或者尝试找到预构建的版本。您应该能够使用 gendef 和 MSVC 的 lib.exe 等工具为创建的 DLL 创建导入库。这将允许您将 DLL 与 Visual Studio 编译器链接。

  2. GSL 可以进行 FFT,但 FFTW 更擅长。两者都是 GPL(如果我没记错的话),因此它们将要求您的应用程序获得 GPL 兼容许可。

  3. Matlab(表面上)比 C 更容易。但我很确定,如果使用正确,GSL,尤其是 FFTW 在原始性能方面应该击败 Matlab。

  1. You don't need Cygwin to use GSL, only to build it. You'll need to use a MinGW GCC to do that, and use either Cygwin or MSYS as a POSIX shell environment to build it using "configure". Or try to find a prebuilt version. You should be able to create an import library for the created DLLs, with tools like gendef and MSVC's lib.exe. This will let you link the DLL with a Visual Studio compiler.

  2. GSL can do FFT's, but FFTW is better at doing that. Both are GPL (if I'm not mistaken), so they will require your app to be GPL compatibly licensed.

  3. Matlab is easier (superficially) than C. But I'm quite sure, when used correctly, GSL and especially FFTW should beat Matlab in terms of raw performance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文