Sign in
eigen
/
mirror
/
05ad0834676b7f375df7fd33d90a7db871787330
/
.
/
doc
/
snippets
/
MatrixBase_start_int.cpp
blob: cee28f3299ef94358388012cdbfe3d35b2fbfdd2 [
file
]
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
;