Home | History | Annotate | Download | only in examples
      1 #include <Eigen/Dense>
      2 #include <iostream>
      3 
      4 using namespace Eigen;
      5 using namespace std;
      6 
      7 int 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