Download include/eigen/doc/examples/QuickStart_example2_dynamic.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/QuickStart_example2_dynamic.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/doc/examples/QuickStart_example2_dynamic.cpp
-
curl -L -o QuickStart_example2_dynamic.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/QuickStart_example2_dynamic.cpp
305 Bytes
| using namespace Eigen; | |
| using namespace std; | |
| int main() | |
| { | |
| MatrixXd m = MatrixXd::Random(3,3); | |
| m = (m + MatrixXd::Constant(3,3,1.2)) * 50; | |
| cout << "m =" << endl << m << endl; | |
| VectorXd v(3); | |
| v << 1, 2, 3; | |
| cout << "m * v =" << endl << m * v << endl; | |
| } | |