You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
420 B
9 lines
420 B
2 years ago
|
cout << "Even spacing inputs:" << endl;
|
||
|
cout << VectorXi::LinSpaced(8,1,4).transpose() << endl;
|
||
|
cout << VectorXi::LinSpaced(8,1,8).transpose() << endl;
|
||
|
cout << VectorXi::LinSpaced(8,1,15).transpose() << endl;
|
||
|
cout << "Uneven spacing inputs:" << endl;
|
||
|
cout << VectorXi::LinSpaced(8,1,7).transpose() << endl;
|
||
|
cout << VectorXi::LinSpaced(8,1,9).transpose() << endl;
|
||
|
cout << VectorXi::LinSpaced(8,1,16).transpose() << endl;
|