Sign in
◑
Theme
eigen
/
mirror
/
ae4d9434e23e62d9403e570c20aeb3b8b44a2dd3
/
.
/
doc
/
snippets
/
MatrixBase_replicate_int_int.cpp
blob: b1dbc70bcded3df156f986f1ef4a6826454c65b8 [
file
]
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
;