#include <Eigen/Dense>
#include <iostream>
◆ main()
8 m << 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16;
9 cout <<
"m.leftCols(2) =" << endl <<
m.leftCols(2) << endl << endl;
10 cout <<
"m.bottomRows<2>() =" << endl <<
m.bottomRows<2>() << endl << endl;
11 m.topLeftCorner(1, 3) =
m.bottomRightCorner(3, 1).transpose();
12 cout <<
"After assignment, m = " << endl <<
m << endl;
int * m
Definition: level2_cplx_impl.h:294
References m.