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