1MatrixXi m(2,2); 2m << 1, 0, 3 1, 1; 4cout << "Comparing m with identity matrix:" << endl; 5cout << m.cwiseNotEqual(MatrixXi::Identity(2,2)) << endl; 6int count = m.cwiseNotEqual(MatrixXi::Identity(2,2)).count(); 7cout << "Number of coefficients that are not equal: " << count << endl; 8