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