Cross Reference: MatrixBase_setRandom.cpp
xref
: /
external
/
eigen
/
doc
/
snippets
/
MatrixBase_setRandom.cpp
Home
History
Annotate
Line#
Navigate
Download
only in
MatrixBase_setRandom.cpp
1
Matrix4i
m =
Matrix4i
::
Zero
();
2
m.
col
(
1
).
setRandom
();
3
cout
<< m <<
endl
;
4