Sign in
eigen
/
mirror
/
25904802bc7a17f3436479a414234486ff4e084e
/
.
/
doc
/
snippets
/
MatrixBase_template_int_start.cpp
blob: 0cd424a94e76fbbd3729f04d659881e8592964aa [
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
;