summaryrefslogtreecommitdiffhomepage
path: root/eigen/doc/snippets/MatrixBase_isDiagonal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/doc/snippets/MatrixBase_isDiagonal.cpp')
-rw-r--r--eigen/doc/snippets/MatrixBase_isDiagonal.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/eigen/doc/snippets/MatrixBase_isDiagonal.cpp b/eigen/doc/snippets/MatrixBase_isDiagonal.cpp
deleted file mode 100644
index 5b1d599..0000000
--- a/eigen/doc/snippets/MatrixBase_isDiagonal.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-Matrix3d m = 10000 * Matrix3d::Identity();
-m(0,2) = 1;
-cout << "Here's the matrix m:" << endl << m << endl;
-cout << "m.isDiagonal() returns: " << m.isDiagonal() << endl;
-cout << "m.isDiagonal(1e-3) returns: " << m.isDiagonal(1e-3) << endl;
-