//距阵copy 和 转置
// -*- c++ -*-
//
// $COPYRIGHT$
//
//===========================================================================
#include <iostream>
using namespace std;
#include <mtl/matrix.h>
#include <mtl/mtl.h>
#include <mtl/utils.h>
#include <mtl/linalg_vec.h>
/*
Transpose matrix A into matrix B using mtl::copy.
(We could use the mtl::transpose(A,B) function,
but then this wouldn't be an example about mtl::copy)
Sample Output
3x3
[
[1,4,7],
[2,5,8],
[3,6,9]
]
3x3
[
[1,2,3],