From f0238cfb6997c4acfc2bd200de7295f3fa36968f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2019 21:09:10 +0100 Subject: don't index Eigen --- eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp (limited to 'eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp') diff --git a/eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp b/eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp deleted file mode 100644 index 95bd4e0..0000000 --- a/eigen/doc/snippets/Tutorial_ReshapeMat2Vec.cpp +++ /dev/null @@ -1,11 +0,0 @@ -MatrixXf M1(3,3); // Column-major storage -M1 << 1, 2, 3, - 4, 5, 6, - 7, 8, 9; - -Map v1(M1.data(), M1.size()); -cout << "v1:" << endl << v1 << endl; - -Matrix M2(M1); -Map v2(M2.data(), M2.size()); -cout << "v2:" << endl << v2 << endl; \ No newline at end of file -- cgit v1.2.3