diff options
author | 2009-10-19 17:22:04 -0400 | |
---|---|---|
committer | 2009-10-19 17:22:04 -0400 | |
commit | d1db1352f5632281a822fd0f1f59dd7d96b876a1 (patch) | |
tree | 6c881cdb4cd6bf0337fc62a31d1b08ab94f9c4df /doc/snippets/LU_computeKernel.cpp | |
parent | 890bff977eeff9a5d461812a0048c89ea30fd30a (diff) |
update doc snippets
Diffstat (limited to 'doc/snippets/LU_computeKernel.cpp')
-rw-r--r-- | doc/snippets/LU_computeKernel.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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<MatrixXf> 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; |