Eigen 3.4.90
doc
snippets
TopicAliasing_mult5.cpp
Go to the documentation of this file.
1
MatrixXf
A
(2,2),
B
(3,2);
2
B
<< 2, 0, 0, 3, 1, 1;
3
A
<< 2, 0, 0, -2;
4
A
= (
B
*
A
).eval().cwiseAbs();
5
cout <<
A
;
A
MatrixXf A(2, 2)
B
MatrixXf B(3, 2)
Eigen::MatrixXf
Matrix< float, Dynamic, Dynamic > MatrixXf
Dynamic×Dynamic matrix of type float.
Definition:
Matrix.h:501