Download include/eigen/failtest/swap_1.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/failtest/swap_1.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/failtest/swap_1.cpp
-
curl -L -o swap_1.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/failtest/swap_1.cpp
217 Bytes
| using namespace Eigen; | |
| int main() | |
| { | |
| VectorXf a(10), b(10); | |
| const DenseBase<VectorXf> &ac(a); | |
| DenseBase<VectorXf> &ac(a); | |
| b.swap(ac); | |
| } | |