Sign in
◑
Theme
eigen
/
mirror
/
f3ec3aac5b4e335013f970fc839eda4d53178a12
/
.
/
doc
/
snippets
/
Cwise_abs2.cpp
blob: 4f873aa7f190f82fd51e4c3cad1750cee0d5465e [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
Array3d
v
(
1
,
-
2
,
-
3
);
cout
<<
v
.
abs2
()
<<
endl
;