Eigen 3.4.90
doc
snippets
Matrix_resize_NoChange_int.cpp
Go to the documentation of this file.
1
MatrixXd
m
(3,4);
2
m
.resize(
NoChange
, 5);
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