Boost QVM

trans_m

#include <boost/qvm/map_vm.hpp>

namespace boost
{
    namespace qvm
    {
        //Only enabled if: is_v<A>::value
        template <iclass A>
        -unspecified-return-type- trans_m( A & a );
    }
}

The expression trans_m(v) returns a view proxy that accesses the vector v as translation matrix of size v's dimension plus one.