blob: 1a36defde3b99fab572dae66c1f11d33179945aa [file] [log] [blame]
Gael Guennebaudc10021c2016-01-25 15:50:55 +01001MatrixXf A(2,2), B(3,2);
2B << 2, 0, 0, 3, 1, 1;
3A << 2, 0, 0, -2;
4A = (B * A).eval().cwiseAbs();
5cout << A;