Sign in
eigen
/
mirror
/
5527e78a64773a84c96c035d4c77b68c9db4f8ad
/
.
/
doc
/
snippets
/
Tutorial_AdvancedInitialization_CommaTemporary.cpp
blob: 50cff4cb6b69555b449e137cf10f4bf7d0b1166f [
file
]
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
;