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

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

Doc

File size: 159 bytes
Line 
1Matrix3f A;
2Vector3f b;
3A << 1,2,3, 0,5,6, 0,0,10;
4b << 3, 3, 4;
5A.triangularView<Upper>().solveInPlace(b);
6cout << "The solution is:" << endl << b << endl;
Note: See TracBrowser for help on using the repository browser.