Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
MatrixBase_replicate_int_int.cpp
blob: cfa180d9e1f1518e5b61de9ff774df2784d08ae7 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
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
;