Sign in
◑
Theme
third-party-mirror
/
eigen
/
c533110be8303e7887b82e18a5176a3b0d0b0b63
/
.
/
doc
/
snippets
/
MatrixBase_array.cpp
blob: dfbb047fc191d57e6d2f3fa111e753d7cfa3190d [
file
]
// 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
;