blob: 79a94c86faf0c9373123e256def15328a4c322aa [file] [log] [blame]
MatrixXf A(2, 2), B(3, 2);
B << 2, 0, 0, 3, 1, 1;
A << 2, 0, 0, -2;
A = (B * A).eval().cwiseAbs();
cout << A;