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<M>::read_element

template <int R,int C> static inline scalar_type read_element( Matrix const & m );

This function template is expected to be static member of user-defined specializations of the mat_traits template. It returns the element at row R and column C of m, by value or by const reference.