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