Sign in
eigen
/
mirror
/
6ecd02d7ec85f07e02559cb311d4dd07e844a72d
/
.
/
doc
/
snippets
/
Cwise_abs2.cpp
blob: 3b338af3eb63e81b354183165bc8cf7397d29e67 [
file
] [
log
] [
blame
]
Vector3d
v
(
1
,-
2
,-
3
);
cout
<<
v
.
cwise
().
abs2
()
<<
endl
;