mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
03ad303d14
* add missing assert in resize(int) * add examples for all resize variants * expand docs (part of which is from Tim Hutt's e-mail)
4 lines
111 B
C++
4 lines
111 B
C++
MatrixXd m(3,4);
|
|
m.resize(NoChange, 5);
|
|
cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl;
|