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/examples/TutorialLinAlgSetThreshold.cpp | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 eigen/doc/examples/TutorialLinAlgSetThreshold.cpp (limited to 'eigen/doc/examples/TutorialLinAlgSetThreshold.cpp') diff --git a/eigen/doc/examples/TutorialLinAlgSetThreshold.cpp b/eigen/doc/examples/TutorialLinAlgSetThreshold.cpp deleted file mode 100644 index 3956b13..0000000 --- a/eigen/doc/examples/TutorialLinAlgSetThreshold.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include - -using namespace std; -using namespace Eigen; - -int main() -{ - Matrix2d A; - A << 2, 1, - 2, 0.9999999999; - FullPivLU lu(A); - cout << "By default, the rank of A is found to be " << lu.rank() << endl; - lu.setThreshold(1e-5); - cout << "With threshold 1e-5, the rank of A is found to be " << lu.rank() << endl; -} -- cgit v1.2.3