Sign in
third-party-mirror
/
eigen
/
2571273647cdf6673639ebe9b3aa3237c1e7a822
/
.
/
doc
/
snippets
/
Cwise_trunc.cpp
blob: 8fb29c854e344a340ad477ca4966488a10303a46 [
file
] [
log
] [
blame
]
ArrayXd
v
=
ArrayXd
::
LinSpaced
(
7
,
-
2
,
2
);
cout
<<
v
<<
endl
<<
endl
;
cout
<<
trunc
(
v
)
<<
endl
;