From d1db1352f5632281a822fd0f1f59dd7d96b876a1 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 19 Oct 2009 17:22:04 -0400 Subject: update doc snippets --- doc/snippets/LU_computeKernel.cpp | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 doc/snippets/LU_computeKernel.cpp (limited to 'doc/snippets/LU_computeKernel.cpp') diff --git a/doc/snippets/LU_computeKernel.cpp b/doc/snippets/LU_computeKernel.cpp deleted file mode 100644 index b08f7f1ea..000000000 --- a/doc/snippets/LU_computeKernel.cpp +++ /dev/null @@ -1,10 +0,0 @@ -MatrixXf m = MatrixXf::Random(3,5); -cout << "Here is the matrix m:" << endl << m << endl; -LU lu(m); -// allocate the matrix ker with the correct size to avoid reallocation -MatrixXf ker(m.rows(), lu.dimensionOfKernel()); -lu.computeKernel(&ker); -cout << "Here is a matrix whose columns form a basis of the kernel of m:" - << endl << ker << endl; -cout << "By definition of the kernel, m*ker is zero:" - << endl << m*ker << endl; -- cgit v1.2.3