Files
eigen/doc/snippets/MatrixBase_cwiseProduct.cpp
2023-12-05 21:22:55 +00:00

4 lines
152 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;