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