Prev | Next | abs_print_mat |
abs_print_mat(name, nr, nc, mat)
template <class Vector> void abs_print_mat( const std::string& name , size_t nr , size_t nc , const Vector& mat )
nr = 1
for
row vectors.
nc = 1
for
column vectors.
std::cout << mat[i]
must output the i
-th element of the simple vector
mat
.