4 lines
93 B
C++
4 lines
93 B
C++
|
ArrayXd v = ArrayXd::LinSpaced(7,-2,2);
|
||
|
cout << v << endl << endl;
|
||
|
cout << round(v) << endl;
|