Sign in
◑
Theme
eigen
/
mirror
/
ae4d9434e23e62d9403e570c20aeb3b8b44a2dd3
/
.
/
doc
/
snippets
/
MatrixBase_cwiseAbs2.cpp
blob: 889a2e2ba0d4bb9726cd0b494659ab4015b6a30c [
file
]
MatrixXd
m
(
2
,
3
);
m
<<
2
,
-
4
,
6
,
-
5
,
1
,
0
;
cout
<<
m
.
cwiseAbs2
()
<<
endl
;