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