1*bf2c3715SXin Li ArrayXd v = ArrayXd::LinSpaced(7,-2,2); 2*bf2c3715SXin Li cout << v << endl << endl; 3*bf2c3715SXin Li cout << rint(v) << endl; 4