Sign in
eigen
/
mirror
/
e2946d962d1e06a1070a391a6aa92d03a9162573
/
.
/
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
;