summaryrefslogtreecommitdiffhomepage
path: root/eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp')
-rw-r--r--eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp b/eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp
deleted file mode 100644
index 73a7f62..0000000
--- a/eigen/doc/snippets/SelfAdjointEigenSolver_SelfAdjointEigenSolver.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-SelfAdjointEigenSolver<Matrix4f> es;
-Matrix4f X = Matrix4f::Random(4,4);
-Matrix4f A = X + X.transpose();
-es.compute(A);
-cout << "The eigenvalues of A are: " << es.eigenvalues().transpose() << endl;
-es.compute(A + Matrix4f::Identity(4,4)); // re-use es to compute eigenvalues of A+I
-cout << "The eigenvalues of A+I are: " << es.eigenvalues().transpose() << endl;