1*bf2c3715SXin Li Matrix3d m; 2*bf2c3715SXin Li m << 1,1,0, 3*bf2c3715SXin Li 1,3,2, 4*bf2c3715SXin Li 0,1,1; 5*bf2c3715SXin Li cout << "Here is the matrix m:" << endl << m << endl; 6*bf2c3715SXin Li cout << "Notice that the middle column is the sum of the two others, so the " 7*bf2c3715SXin Li << "columns are linearly dependent." << endl; 8*bf2c3715SXin Li cout << "Here is a matrix whose columns have the same span but are linearly independent:" 9*bf2c3715SXin Li << endl << m.fullPivLu().image(m) << endl; 10