Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
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
;