Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_replicate_int_int.cpp
blob: 1aee265b3243ee011950ca68b23809c5680f3f77 [
file
] [
log
] [
blame
]
Vector3i
v
=
Vector3i
::
Random
();
cout
<<
"Here is the vector v:"
<<
endl
<<
v
<<
endl
;
cout
<<
"v.replicate(2,5) = ..."
<<
endl
;
cout
<<
v
.
replicate
(
2
,
5
)
<<
endl
;