Tutorial_ArrayClass_mult.cpp
Go to the documentation of this file.
1 #include <Eigen/Dense>
2 #include <iostream>
3 
4 int main()
5 {
6  Eigen::ArrayXXf a(2,2);
7  Eigen::ArrayXXf b(2,2);
8  a << 1,2,
9  3,4;
10  b << 5,6,
11  7,8;
12  std::cout << "a * b = " << std::endl << a * b << std::endl;
13 }
Array< int, 3, 1 > b
General-purpose arrays with easy API for coefficient-wise operations.
Definition: Array.h:49