Sign in
third-party-mirror
/
eigen
/
440a71a78fb63be4f4e46dbf757a49ccf87c2aab
/
.
/
doc
/
snippets
/
tut_matrix_assignment_resizing.cpp
blob: 9f5da4354592722aa29e8c57dbeac9a9aac6a32d [
file
] [
log
] [
blame
]
MatrixXf
a
(
2
,
2
);
std
::
cout
<<
"a is of size "
<<
a
.
rows
()
<<
"x"
<<
a
.
cols
()
<<
std
::
endl
;
MatrixXf
b
(
3
,
3
);
a
=
b
;
std
::
cout
<<
"a is now of size "
<<
a
.
rows
()
<<
"x"
<<
a
.
cols
()
<<
std
::
endl
;