mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +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(5, NoChange);
|
|
cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl;
|