Download include/eigen/doc/examples/DenseBase_template_int_middleRows.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/DenseBase_template_int_middleRows.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/doc/examples/DenseBase_template_int_middleRows.cpp
-
curl -L -o DenseBase_template_int_middleRows.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/DenseBase_template_int_middleRows.cpp
283 Bytes
| using namespace Eigen; | |
| using namespace std; | |
| int main(void) | |
| { | |
| int const N = 5; | |
| MatrixXi A(N,N); | |
| A.setRandom(); | |
| cout << "A =\n" << A << '\n' << endl; | |
| cout << "A(1..3,:) =\n" << A.middleRows<3>(1) << endl; | |
| return 0; | |
| } | |