Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame^] | 1 | cout << "Even spacing inputs:" << endl; |
2 | cout << VectorXi::LinSpaced(8,1,4).transpose() << endl; | ||||
3 | cout << VectorXi::LinSpaced(8,1,8).transpose() << endl; | ||||
4 | cout << VectorXi::LinSpaced(8,1,15).transpose() << endl; | ||||
5 | cout << "Uneven spacing inputs:" << endl; | ||||
6 | cout << VectorXi::LinSpaced(8,1,7).transpose() << endl; | ||||
7 | cout << VectorXi::LinSpaced(8,1,9).transpose() << endl; | ||||
8 | cout << VectorXi::LinSpaced(8,1,16).transpose() << endl; |