Sign in
third-party-mirror
/
eigen
/
56634d8dda2360b345a1fc8809d06b176d31547a
/
.
/
doc
/
examples
/
tut_matrix_resize_fixed_size.cpp
blob: 3df87d2b04e9d919a82a3ebc6d4833d5c18d07ba [
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
;
}