Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
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
;