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/ColPivHouseholderQR_solve.cpp | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 eigen/doc/snippets/ColPivHouseholderQR_solve.cpp (limited to 'eigen/doc/snippets/ColPivHouseholderQR_solve.cpp') diff --git a/eigen/doc/snippets/ColPivHouseholderQR_solve.cpp b/eigen/doc/snippets/ColPivHouseholderQR_solve.cpp deleted file mode 100644 index b7b204a..0000000 --- a/eigen/doc/snippets/ColPivHouseholderQR_solve.cpp +++ /dev/null @@ -1,8 +0,0 @@ -Matrix3f m = Matrix3f::Random(); -Matrix3f y = Matrix3f::Random(); -cout << "Here is the matrix m:" << endl << m << endl; -cout << "Here is the matrix y:" << endl << y << endl; -Matrix3f x; -x = m.colPivHouseholderQr().solve(y); -assert(y.isApprox(m*x)); -cout << "Here is a solution x to the equation mx=y:" << endl << x << endl; -- cgit v1.2.3