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

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

Doc

File size: 129 bytes
Line 
1Matrix2d a, b, c; a << 1,2,3,4; b << 5,6,7,8;
2c.noalias() = a * b; // this computes the product directly to c
3cout << c << endl;
Note: See TracBrowser for help on using the repository browser.