COSC-4P80-Assignment-2/lib/eigen-3.4.0/doc/snippets/DenseBase_LinSpaced.cpp

3 lines
117 B
C++
Raw Permalink Normal View History

2024-10-21 16:42:03 -04:00
cout << VectorXi::LinSpaced(4,7,10).transpose() << endl;
cout << VectorXd::LinSpaced(5,0.0,1.0).transpose() << endl;