Sign in
eigen
/
mirror
/
ce425d92f1c1d199c8428c46b4c4ea3be81b137b
/
.
/
doc
/
snippets
/
MatrixBase_start_int.cpp
blob: cee28f3299ef94358388012cdbfe3d35b2fbfdd2 [
file
] [
log
] [
blame
]
RowVector4i
v
=
RowVector4i
::
random
();
cout
<<
"Here is the vector v:"
<<
endl
<<
v
<<
endl
;
cout
<<
"Here is v.start(2):"
<<
endl
<<
v
.
start
(
2
)
<<
endl
;
v
.
start
(
2
).
setZero
();
cout
<<
"Now the vector v is:"
<<
endl
<<
v
<<
endl
;