开发者

What is a good open source C/C++ math library that supports vector math and complex numbers?

开发者 https://www.devze.com 2023-03-04 23:53 出处:网络
I am working on a project that needs vector math and complex numbers开发者_如何学编程. I am looking a for a good open source API that supports C/C++ and hopefully has decent performance.

I am working on a project that needs vector math and complex numbers开发者_如何学编程.

I am looking a for a good open source API that supports C/C++ and hopefully has decent performance.

I can write these functions myself but it will be ugly and slow.


I regularly use Sony Vector Math library bundled with bullet physics. It's fast has many linear algebra algorithms.
For complex numbers you can simply use std::complex


You can use the C++ complex numbers library
Also, Boost provides linear Algebra package


I haven't used any of these packages personally, but head over to Object-Oriented Numerics for a great selection of available libraries


Eigen is pretty much standard in research and should offer the stuff you need as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消