source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/doc/snippets/MatrixBase_cast.cpp

Last change on this file was 136, checked in by ldecherf, 8 years ago

Doc

File size: 119 bytes
Line 
1Matrix2d md = Matrix2d::Identity() * 0.45;
2Matrix2f mf = Matrix2f::Identity();
3cout << md + mf.cast<double>() << endl;
Note: See TracBrowser for help on using the repository browser.