mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 18:19:34 +08:00
5 lines
169 B
C++
5 lines
169 B
C++
MatrixXf mat = MatrixXf::Random(2, 3);
|
|
std::cout << mat << std::endl << std::endl;
|
|
mat = (MatrixXf(2, 2) << 0, 1, 1, 0).finished() * mat;
|
|
std::cout << mat << std::endl;
|