Sign in
◑
Theme
eigen
/
mirror
/
refs/heads/cuda-sm60-arch-floor
/
.
/
doc
/
snippets
/
MatrixBase_array.cpp
blob: dfbb047fc191d57e6d2f3fa111e753d7cfa3190d [
file
] [
edit
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
Vector3d
v
(
1
,
2
,
3
);
v
.
array
()
+=
3
;
v
.
array
()
-=
2
;
cout
<<
v
<<
endl
;