Eigen 3.4.90
doc
snippets
Cwise_rint.cpp
Go to the documentation of this file.
1
ArrayXd
v
= ArrayXd::LinSpaced(7,-2,2);
2
cout <<
v
<< endl << endl;
3
cout <<
rint
(
v
) << endl;
rint
const RintReturnType rint() const
Definition:
ArrayCwiseUnaryOps.h:455
v
ArrayXd v
Definition:
Cwise_rint.cpp:1
Eigen::ArrayXd
Array< double, Dynamic, 1 > ArrayXd
Definition:
Array.h:346