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; 7