00001 #include <Eigen/Dense> 00002 #include <iostream> 00003 00004 using namespace Eigen; 00005 using namespace std; 00006 00007 int main() 00008 { 00009 ArrayXXf a(2,2); 00010 ArrayXXf b(2,2); 00011 a << 1,2, 00012 3,4; 00013 b << 5,6, 00014 7,8; 00015 cout << "a * b = " << endl << a * b << endl; 00016 }