source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/FullPivLU_kernel.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 317 bytes
Line 
1MatrixXf m = MatrixXf::Random(3,5);
2cout << "Here is the matrix m:" << endl << m << endl;
3MatrixXf ker = m.fullPivLu().kernel();
4cout << "Here is a matrix whose columns form a basis of the kernel of m:"
5 << endl << ker << endl;
6cout << "By definition of the kernel, m*ker is zero:"
7 << endl << m*ker << endl;
Note: See TracBrowser for help on using the repository browser.