00001 MatrixXf matA(2,2); 00002 matA << 2, 0, 0, 2; 00003 matA.noalias() = matA * matA; 00004 cout << matA;