Austin Schuh | 189376f | 2018-12-20 22:11:15 +1100 | [diff] [blame] | 1 | RowVectorXf v = RowVectorXf::LinSpaced(20,0,19); |
2 | cout << "Input:" << endl << v << endl; | ||||
3 | Map<RowVectorXf,0,InnerStride<2> > v2(v.data(), v.size()/2); | ||||
Austin Schuh | c55b017 | 2022-02-20 17:52:35 -0800 | [diff] [blame^] | 4 | cout << "Even:" << v2 << endl; |