cart-elc

Source code for CART-ELC
git clone git://git.laack.co/cart-elc.git
Log | Files | Refs | README | LICENSE

DenseBase_LinSpacedInt.cpp (420B)


      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;