template<typename T, unsigned M, unsigned N>
template<unsigned P, unsigned Q>
-inline Matrix<T, P, Q> Matrix<T, M, N>::select(const Vector<unsigned, P> &rows, const Vector<unsigned, Q> &cols) const
+inline Matrix<T, P, Q> Matrix<T, M, N>::select(const Vector<unsigned, P> &row_indices, const Vector<unsigned, Q> &col_indices) const
{
Matrix<T, P, Q> r;
for(unsigned j=0; j<P; ++j)
for(unsigned i=0; i<Q; ++i)
- r(j, i) = element(rows[j], cols[i]);
+ r(j, i) = element(row_indices[j], col_indices[i]);
return r;
}