QVM: Quaternions, Vectors, Matrices
is_mat
#include <boost/qvm/mat_traits.hpp>
namespace
boost
{
namespace
qvm
{
template <class T>
struct is_mat
{
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 matrix type. For matrix types, the mat_traits template can be used to access their elements generically, or to obtain their dimensions and scalar type.
See also:
assign(mat,mat) | boost/qvm/mat_traits.hpp | cmp(mat,mat) | col | convert_to(mat) | convert_to(quat) | deduce_mat | deduce_mat2 | determinant | diag | inverse(mat) | mat_index_read | mat_index_write | mat_traits | mref | operator!=(mat,mat) | operator*(mat,mat) | operator*(mat,scalar) | operator*(mat,vec) | operator*(vec,mat) | operator*=(mat,mat) | operator*=(mat,scalar) | operator+(mat,mat) | operator+=(mat,mat) | operator-(mat) | operator-(mat,mat) | operator-=(mat,mat) | operator/(mat,scalar) | operator/=(mat,scalar) | operator==(mat,mat) | rotate(mat,vec,scalar) | rotate_x(mat,scalar) | rotate_y(mat,scalar) | rotate_z(mat,scalar) | row | SFINAE/enable_if | scalar | scalar_cast(mat) | set_identity(mat) | set_rot(mat,vec,scalar) | set_rotx(mat,scalar) | set_roty(mat,scalar) | set_rotz(mat,scalar) | set_zero(mat) | transform_point | transform_vector | translation