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;


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:33:05