mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
6 lines
193 B
C++
6 lines
193 B
C++
MatrixXf a(2,2);
|
|
std::cout << "a is of size " << a.rows() << "x" << a.cols() << std::endl;
|
|
MatrixXf b(3,3);
|
|
a = b;
|
|
std::cout << "a is now of size " << a.rows() << "x" << a.cols() << std::endl;
|