mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Extend tutorial page 5: Advanced initialization.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user