C++ kinda sucks when it comes to libraries. Which, in itself, is ironic because C++ was created to write libraries.
And even the stuff it provides is often inadequate, and we often have to build our dogs from quarks. For example, compare C++'s std::string with Ruby's string class. The C++ one should have kept the name basic_string, which is what it really is, a vector of chars.
I'd suggest looking for math libraries, probably start on github and google.