# QVM: Quaternions, Vectors, Matrices

### is_vec

#include <boost/qvm/vec_traits.hpp>

    namespace
    boost
    {
        namespace
        qvm
        {
            template <class T>
            struct is_vec
            {
                static bool const value=/*unspecified*/;
            };
        }
    }

This type template defines a compile-time boolean constant value which can be used to determine whether a type T is a vector type. For vector types, the vec_traits template can be used to access their elements generically, or to obtain their dimension and scalar type.

See also: Accessing Vector Elements | assign(vec,vec) | boost/qvm/swizzle.hpp | boost/qvm/vec_traits.hpp | cmp(vec,vec) | col_mat | convert_to(vec) | cross | deduce_vec | deduce_vec2 | diag_mat | dot(vec,vec) | mag(vec) | mag_sqr(vec) | normalize(vec) | normalized(vec) | operator!=(vec,vec) | operator*(mat,vec) | operator*(quat,vec) | operator*(scalar,vec) | operator*(vec,mat) | operator*(vec,scalar) | operator*=(vec,scalar) | operator+(vec,vec) | operator+=(vec,vec) | operator-(vec) | operator-(vec,vec) | operator-=(vec,vec) | operator/(vec,scalar) | operator/=(vec,scalar) | operator==(vec,vec) | rot_mat | rot_quat | rotate(mat,vec,scalar) | rotate(quat,vec,scalar) | row_mat | SFINAE/enable_if | scalar | scalar_cast(vec) | set_rot(mat,vec,scalar) | set_rot(quat,vec,scalar) | set_zero(vec) | transform_point | transform_vector | translation_mat | vec_traits | vref