mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Various documentation updates:
- update the tutorial - update doc of deprecated cwise function - update cwise doc snippets
This commit is contained in:
3
doc/snippets/MatrixBase_noalias.cpp
Normal file
3
doc/snippets/MatrixBase_noalias.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
Matrix2d a, b, c; a << 1,2,3,4; b << 5,6,7,8;
|
||||
c.noalias() = a * b; // this computes the product directly to c
|
||||
cout << c << endl;
|
||||
Reference in New Issue
Block a user