* 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:
Benoit Jacob
2009-06-24 22:07:03 +02:00
parent 96dca681b0
commit 03ad303d14
7 changed files with 118 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
MatrixXd m(3,4);
m.resize(NoChange, 5);
cout << "m: " << m.rows() << " rows, " << m.cols() << " cols" << endl;