C++ 的 numpy 替代品:线性代数/FFT/数字好东西?
我已经使用 python + numpy 一段时间了,并且熟悉(并着迷)它。现在,我需要使用 C++ 进行一些计算,并且正在寻找一个不错的库来快速、轻松地完成数值计算 (TM :P)。我环顾四周,发现了几个选项:
- GSL
- Eigen
- NT2
- Boost uBlast
由于理解和使用新库是一项相当大的努力,我想知道 SO 人员是否可以对此发表评论。现在我需要基本的 FFT 和 SVD 分解,但是像数组切片、函数矢量化之类的好东西将非常感激。
您对此有何想法?
I've been using python + numpy for a while, and got familiarized (and charmed) with it. Now, I need to do some calculations using C++, and was looking for a nice library to do numerical stuff fast and easy (TM :P). I've been looking around and I found several options:
- GSL
- Eigen
- NT2
- Boost uBlast
As understanding and getting use to a new library is quite an effort, I was wondering if the SO folks could give comments on this. Right now I would need basic FFT and SVD decomposition, but goodies like slicing of arrays, vectorization of functions and the like would be much appreciated.
What are your thoughts in this aspect?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论