Tag: how to transpose the matrix in c++