模仿 matlab 功能的 C++ 库

标签 c++ matlab

我想知道是否有任何 C/C++ 库可以模仿 Matlab 提供的功能(当然忽略所有工具箱),如果有,它们在简单性和速度方面与 Matlab 相比如何?

最佳答案

对于标准线性代数,Armadillo本质上以 Matlab 的“易用性”作为既定目标。引用自主页:

  • Armadillo is an open-source C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use. Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions. Various matrix decompositions are provided through optional integration with LAPACK, or one of its high performance drop-in replacements (such as MKL or ACML).

  • This library is useful if C++ has been decided as the language of choice (due to speed and/or integration capabilities), rather than another language like Matlab ® or Octave. It is distributed under a license that is useful in both open-source and commercial contexts.

这是一个相当不错的 C++ 库。

关于模仿 matlab 功能的 C++ 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6630181/

相关文章:

c++ - MATLAB 在执行半色调 mex 包装函数时崩溃?

c++ - 正在运行的 Docker 容器内不允许执行 chmod 0777 操作

c++ - 如果比较取决于返回值,是否可以进行尾递归?

c++ - Intel 64(EM64T)系统上char类型的大小

c++ - Qt 与 Visual Studio 宏问题

matlab - 如何加入两个重叠的图像?

matlab - 我如何(有效地)计算向量的移动平均值?

c++ - 包含一个库会破坏 C++ 中另一个库的功能吗?

algorithm - K-均值聚类分区

matlab - 是否可以在 matlab 中显式格式化输出数字?