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