Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
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
;