Download include/eigen/doc/examples/TutorialLinAlgInverseDeterminant.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/TutorialLinAlgInverseDeterminant.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/doc/examples/TutorialLinAlgInverseDeterminant.cpp
-
curl -L -o TutorialLinAlgInverseDeterminant.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/TutorialLinAlgInverseDeterminant.cpp
348 Bytes
| using namespace std; | |
| using namespace Eigen; | |
| int main() | |
| { | |
| Matrix3f A; | |
| A << 1, 2, 1, | |
| 2, 1, 0, | |
| -1, 1, 2; | |
| cout << "Here is the matrix A:\n" << A << endl; | |
| cout << "The determinant of A is " << A.determinant() << endl; | |
| cout << "The inverse of A is:\n" << A.inverse() << endl; | |
| } | |