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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

QVM: Quaternions, Vectors, Matrices


#include <boost/qvm/map_mat_mat.hpp>

namespace boost
    namespace qvm
        template <int C1,int C2>
        -unspecified-return-type- swap_cols();

The expression swap_cols<C1,C2>(m) returns a view proxy that looks like the matrix m with rows C1 and C2 swapped.