Sign in
◑
Theme
third-party-mirror
/
eigen
/
a0bee8690129638e46876e324e2ac5793f7e6eee
/
.
/
doc
/
snippets
/
MatrixBase_replicate.cpp
blob: bffd102152eae53df633a2cbb87d993cf9e6a675 [
file
]
MatrixXi
m
=
MatrixXi
::
Random
(
2
,
3
);
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"m.replicate<3,2>() = ..."
<<
endl
;
cout
<<
m
.
replicate
<
3
,
2
>()
<<
endl
;