source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/MatrixBase_noalias.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 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.