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