mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* add resize(int, NoChange) and resize(NoChange, int)
* add missing assert in resize(int) * add examples for all resize variants * expand docs (part of which is from Tim Hutt's e-mail)
This commit is contained in:
3
doc/snippets/Matrix_resize_NoChange_int.cpp
Normal file
3
doc/snippets/Matrix_resize_NoChange_int.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
MatrixXd m(3,4);
|
||||
m.resize(NoChange, 5);
|
||||
cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl;
|
||||
Reference in New Issue
Block a user