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