Sign in
◑
Theme
eigen
/
mirror
/
0a746d8e9b694292e596b71912df60ba60ae2382
/
.
/
doc
/
snippets
/
MatrixBase_cwiseMax.cpp
blob: 2e483b60e65b2a6c66890057b0194576a3c561db [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
Vector3d
v
(
2
,
3
,
4
),
w
(
4
,
2
,
3
);
cout
<<
v
.
cwiseMax
(
w
)
<<
endl
;