Sign in
third-party-mirror
/
eigen
/
8d2cb1a85d07eaff27321661524772e19aeb0e7c
/
.
/
doc
/
snippets
/
MatrixBase_cwiseAbs2.cpp
blob: 889a2e2ba0d4bb9726cd0b494659ab4015b6a30c [
file
] [
log
] [
blame
]
MatrixXd
m
(
2
,
3
);
m
<<
2
,
-
4
,
6
,
-
5
,
1
,
0
;
cout
<<
m
.
cwiseAbs2
()
<<
endl
;