Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

QVM: Quaternions, Vectors, Matrices

boost/qvm/mat_operations2.hpp

This header defines function and operator overloads that implement all the same operations defined in the boost/qvm/mat_operations.hpp header, but specifically for matrices of size 2x2, 2x1 and 1x2. You can include it instead of boost/qvm/mat_operations.hpp if you know you don't use matrix objects of any other size.


See also: Code Generator