Cwise_rint.cpp (92B)
1 ArrayXd v = ArrayXd::LinSpaced(7,-2,2); 2 cout << v << endl << endl; 3 cout << rint(v) << endl;