libeigen/eigen!2509 Closes #2868 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
7 lines
234 B
C++
7 lines
234 B
C++
// SPDX-FileCopyrightText: The Eigen Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random();
|
|
Matrix3i c = a.cwiseProduct(b);
|
|
cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl;
|