Boost QVM

boost/qvm/map_vm.hpp

This header files defines functions that return view proxies for accessing a vector object as a matrix.

#include <boost/qvm/map_vm.hpp>

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

See also: boost/qvm/map.hpp | col_m | diag_m | row_m | trans_m