mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
5c22c7a7de
UTF-8, LF, no BOM, and newlines at the end of files
5 lines
180 B
C++
5 lines
180 B
C++
RowVectorXf v = RowVectorXf::LinSpaced(20,0,19);
|
|
cout << "Input:" << endl << v << endl;
|
|
Map<RowVectorXf,0,InnerStride<2> > v2(v.data(), v.size()/2);
|
|
cout << "Even:" << v2 << endl;
|