7 template <
typename X,
int n>
8 void transpose(
const X& x, X& xt)
10 for (
int i = 0; i < n; i++){
11 for (
int j = 0; j < n; j++){
17 template <
typename X,
int m,
int n>
18 void transpose(
const X& x, X& xt)
20 for (
int i = 0; i < m; i++){
21 for (
int j = 0; j < n; j++){