Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
doc
snippets
Matrix_resize_int.cpp
Go to the documentation of this file.
1
VectorXd
v
(10);
2
v
.resize(3);
3
RowVector3d
w
;
4
w.resize(3);
// this is legal, but has no effect
5
cout <<
"v: "
<<
v
.rows() <<
" rows, "
<<
v
.cols() <<
" cols"
<< endl;
6
cout <<
"w: "
<< w.rows() <<
" rows, "
<< w.cols() <<
" cols"
<< endl;
v
VectorXd v(10)
w
RowVector3d w
Definition:
Matrix_resize_int.cpp:3
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:50