MatrixBase_cast.cpp
Go to the documentation of this file.
1 Matrix2d md = Matrix2d::Identity() * 0.45;
2 Matrix2f mf = Matrix2f::Identity();
3 cout << md + mf.cast<double>() << endl;
Matrix2f mf
Matrix2d md
Matrix< float, 2, 2 > Matrix2f
2×2 matrix of type float.
Definition: Matrix.h:501
Matrix< double, 2, 2 > Matrix2d
2×2 matrix of type double.
Definition: Matrix.h:502