OpenGrok
Cross Reference: MatrixBase_col.cpp
xref
: /
external
/
eigen
/
doc
/
snippets
/
MatrixBase_col.cpp
Home
|
History
|
Annotate
|
Download
|
only in
snippets
1
Matrix3d
m =
Matrix3d
::
Identity
();
2
m.
col
(
1
) =
Vector3d
(
4,5
,
6
);
3
cout
<< m <<
endl
;
4