00001 Matrix2d md = Matrix2d::Identity() * 0.45; 00002 Matrix2f mf = Matrix2f::Identity(); 00003 cout << md + mf.cast<double>() << endl;