Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 952
ljbade Avatar asked Jan 26 '26 22:01

ljbade


1 Answers

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

like image 101
Ghassen Hamrouni Avatar answered Jan 29 '26 12:01

Ghassen Hamrouni



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!