Download include/eigen/failtest/sparse_ref_5.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/failtest/sparse_ref_5.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/failtest/sparse_ref_5.cpp
-
curl -L -o sparse_ref_5.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/failtest/sparse_ref_5.cpp
285 Bytes
| using namespace Eigen; | |
| void call_ref(Ref<SparseMatrix<float> > a) { } | |
| int main() | |
| { | |
| SparseMatrix<float> a(10,10); | |
| SparseMatrixBase<SparseMatrix<float> > &ac(a); | |
| call_ref(ac); | |
| call_ref(ac.derived()); | |
| } | |