Matrix_resize_int.cpp
Go to the documentation of this file.
00001 VectorXd v(10);
00002 v.resize(3);
00003 RowVector3d w;
00004 w.resize(3); // this is legal, but has no effect
00005 cout << "v: " << v.rows() << " rows, " << v.cols() << " cols" << endl;
00006 cout << "w: " << w.rows() << " rows, " << w.cols() << " cols" << endl;


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:31:54