Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
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
;
}