Sign in
eigen
/
mirror
/
3b5a1b4157ff9997065e4af78872ccf36b83f42b
/
.
/
doc
/
snippets
/
MatrixBase_cwiseSign.cpp
blob: c2ee94d40cfaad5a2a73bb89db8db18a01fdaf5c [
file
] [
log
] [
blame
]
MatrixXd
m
(
2
,
3
);
m
<<
2
,
-
4
,
6
,
-
5
,
1
,
0
;
cout
<<
m
.
cwiseSign
()
<<
endl
;