Sign in
◑
Theme
eigen
/
mirror
/
8cd908ab0124e478c7ec72f0c7b6173078642d2d
/
.
/
doc
/
snippets
/
Cwise_rint.cpp
blob: 7dda1d92567568e5b55babb1b714f3bc231710be [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
ArrayXd
v
=
ArrayXd
::
LinSpaced
(
7
,
-
2
,
2
);
cout
<<
v
<<
endl
<<
endl
;
cout
<<
rint
(
v
)
<<
endl
;