1
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-05-04 17:54:07 +08:00
eigen/doc/snippets/DenseBase_LinSpaced_seq.cpp

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;