This is a personal repository for my experiments with C++ Math. I want to explore the different trade-offs of doing simple things like Vector/Buffer Allocation, Matrix and Vector operations, maps, the like. The other learning goal is for me to re-familiarise myself with modern C++ (with which I've had a love-hate relationship with for a long time).
The project has a CMake system in place to make things as easy as possible. It might be overkill, but I did not want to install C++ dependencies without it. As all good CMake projects, we start in an empty build directory and trigger CMake.
(ROOTDIR) $ mkdir build && cd build
(ROOTDIR/build) $ cmake ../
(ROOTDIR/build) $ make Running the install steps detailed above will place the created binaries in ROOTDIR/bin. For example, running the vector creation test is done as:
(ROOTDIR) $ ./bin/allocation_testMy personal code of honour - all created tests will have the same name as their corresponding source files in src/. I say this because for now, GTest and GBenchmark are automatically built in Debug mode, and will also create lots of other binaries in bin/ - this is something I'll eventually fix.