Download include/eigen/doc/examples/Tutorial_BlockOperations_colrow.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/Tutorial_BlockOperations_colrow.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/doc/examples/Tutorial_BlockOperations_colrow.cpp
-
curl -L -o Tutorial_BlockOperations_colrow.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/Tutorial_BlockOperations_colrow.cpp
390 Bytes
| using namespace std; | |
| int main() | |
| { | |
| Eigen::MatrixXf m(3,3); | |
| m << 1,2,3, | |
| 4,5,6, | |
| 7,8,9; | |
| cout << "Here is the matrix m:" << endl << m << endl; | |
| cout << "2nd Row: " << m.row(1) << endl; | |
| m.col(2) += 3 * m.col(0); | |
| cout << "After adding 3 times the first column into the third column, the matrix m is:\n"; | |
| cout << m << endl; | |
| } | |