mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
5 lines
153 B
C++
5 lines
153 B
C++
Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random();
|
|
Matrix3i c = a.cwiseProduct(b);
|
|
cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl;
|
|
|