00001 Matrix3f A; 00002 Vector3f b; 00003 A << 1,2,3, 0,5,6, 0,0,10; 00004 b << 3, 3, 4; 00005 A.triangularView<Upper>().solveInPlace(b); 00006 cout << "The solution is:" << endl << b << endl;