QVM: Quaternions, Vectors, Matrices

mat_traits<M>::write_element_idx

static inline scalar_type & write_element_idx( int r, int c, Matrix & m );

This function is expected to be static member of user-defined specializations of the mat_traits template. It returns mutable reference to the element at row r and column c of m.


See also: mat | mat_index_write | mat_traits