libeigen/eigen!2509 Closes #2868 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
12 lines
514 B
C++
12 lines
514 B
C++
// SPDX-FileCopyrightText: The Eigen Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
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;
|