blob: 1a36defde3b99fab572dae66c1f11d33179945aa [file] [log] [blame]
Austin Schuh189376f2018-12-20 22:11:15 +11001MatrixXf 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;