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