1#include <Eigen/Dense> 2#include <iostream> 3 4using namespace Eigen; 5using namespace std; 6 7int main() 8{ 9 ArrayXXf a(2,2); 10 ArrayXXf b(2,2); 11 a << 1,2, 12 3,4; 13 b << 5,6, 14 7,8; 15 cout << "a * b = " << endl << a * b << endl; 16} 17