Eigen 3.4.90
doc
snippets
Matrix_resize_int_NoChange.cpp
Go to the documentation of this file.
1
MatrixXd
m
(3,4);
2
m
.resize(5,
NoChange
);
3
cout <<
"m: "
<<
m
.rows() <<
" rows, "
<<
m
.cols() <<
" cols"
<< endl;
m
MatrixXd m(3, 4)
Eigen::MatrixXd
Matrix< double, Dynamic, Dynamic > MatrixXd
Dynamic×Dynamic matrix of type double.
Definition:
Matrix.h:502
Eigen::NoChange
@ NoChange
Definition:
Constants.h:362