Eigen 3.4.90
doc
snippets
MatrixBase_cwiseAbs2.cpp
Go to the documentation of this file.
1
MatrixXd
m
(2,3);
2
m
<< 2, -4, 6,
3
-5, 1, 0;
4
cout <<
m
.cwiseAbs2() << endl;
m
MatrixXd m(2, 3)
Eigen::MatrixXd
Matrix< double, Dynamic, Dynamic > MatrixXd
Dynamic×Dynamic matrix of type double.
Definition:
Matrix.h:502