blob: 8a8992f6ca58572090f5cd3ee2a67f62ab572daa [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).cwiseAbs();
5cout << A;