Cwise_round.cpp 93 B

123
  1. ArrayXd v = ArrayXd::LinSpaced(7,-2,2);
  2. cout << v << endl << endl;
  3. cout << round(v) << endl;