Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_replicate.cpp
blob: bffd102152eae53df633a2cbb87d993cf9e6a675 [
file
] [
log
] [
blame
]
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
;