Tutorial_SlicingVec.cpp
Go to the documentation of this file.
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);
4 cout << "Even:" << v2 << endl;
v2
cout<< "Input:"<< endl<< v<< endl;Map< RowVectorXf, 0, InnerStride< 2 > > v2(v.data(), v.size()/2)
v
RowVectorXf v
Definition: Tutorial_SlicingVec.cpp:1


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:36