bug #1144: clarify the doc about aliasing in case of resizing and matrix product.

This commit is contained in:
Gael Guennebaud
2016-01-25 15:50:55 +01:00
parent b114e6fd3b
commit c10021c00a
3 changed files with 36 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
MatrixXf A(2,2), B(3,2);
B << 2, 0, 0, 3, 1, 1;
A << 2, 0, 0, -2;
A = (B * A).cwiseAbs();
cout << A;