2 cout <<
"Input:" << endl <<
v << endl;
3 Map<RowVectorXf,0,InnerStride<2> >
v2(
v.data(),
v.size()/2);
4 cout <<
"Even:" <<
v2 << endl;
cout<< "Input:"<< endl<< v<< endl;Map< RowVectorXf, 0, InnerStride< 2 > > v2(v.data(), v.size()/2)
Matrix< float, 1, Dynamic > RowVectorXf
1×Dynamic vector of type float.