DenseBase_LinSpacedInt.cpp
Go to the documentation of this file.
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;


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:12