Sign in
eigen
/
mirror
/
99ffad1971fb03de65f36e5401add8f872550e5f
/
.
/
doc
/
examples
/
tut_matrix_resize_fixed_size.cpp
blob: 44645d8572ef0222a8c8d8f72c8b2ffdf90f81fb [
file
] [
log
] [
blame
]
#include
<iostream>
#include
<
Eigen
/
Dense
>
int
main
()
{
Eigen
::
Matrix4d
m
;
m
.
resize
(
4
,
4
);
// no operation
std
::
cout
<<
"The matrix m is of size "
<<
m
.
rows
()
<<
"x"
<<
m
.
cols
()
<<
std
::
endl
;
}