Boost C++ Libraries

...one 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

mat_traits<Matrix>::cols

static int const cols = /*user-defined*/;

This member of user-defined (partial) specializations of the mat_traits template must be a compile-time integer constant greater than zero that defines the number of columns of a user-defined matrix type.