epfl-archive/cs440-acg/ext/eigen/doc/snippets/DenseBase_LinSpaced_seq.cpp
2022-04-07 18:46:57 +02:00

3 lines
139 B
C++

cout << VectorXi::LinSpaced(Sequential,4,7,10).transpose() << endl;
cout << VectorXd::LinSpaced(Sequential,5,0.0,1.0).transpose() << endl;