mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
53c77061f0
Otherwise, the "high" bound is implicitly lowered to the largest value allowing for an even distribution. This changeset also disable vectorization for this integer path.
9 lines
420 B
C++
9 lines
420 B
C++
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;
|