Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
doc
/
snippets
/
Tutorial_AdvancedInitialization_CommaTemporary.cpp
blob: 8af3d747f4a9c11014bbf38228a19c2dcd14ee0c [
file
] [
log
] [
blame
]
MatrixXf
mat
=
MatrixXf
::
Random
(
2
,
3
);
std
::
cout
<<
mat
<<
std
::
endl
<<
std
::
endl
;
mat
=
(
MatrixXf
(
2
,
2
)
<<
0
,
1
,
1
,
0
).
finished
()
*
mat
;
std
::
cout
<<
mat
<<
std
::
endl
;