Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_cast.cpp
blob: 016880b40c4e5e0c15ddef2f3c1e58990c60b3fd [
file
] [
log
] [
blame
]
Matrix2d
md
=
Matrix2d
::
Identity
()
*
0.45
;
Matrix2f
mf
=
Matrix2f
::
Identity
();
cout
<<
md
+
mf
.
cast
<double>
()
<<
endl
;