Sign in
eigen
/
mirror
/
4ada45bc76b4417813505a8fd4a6c51cac5994fb
/
.
/
doc
/
examples
/
tut_matrix_resize_fixed_size.cpp
blob: dcbdfa783d3693b7c4415d580ace1cdf626c4c1b [
file
]
#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
;
}