You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
242 B

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