Download include/eigen/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp from adfa5456/FastRobustICP: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp
- Command line
-
hf download hf://datasets/adfa5456/FastRobustICP/include/eigen/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp
-
curl -L -o Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp https://huggingface.co/datasets/adfa5456/FastRobustICP/resolve/main/include/eigen/doc/examples/Tutorial_ReductionsVisitorsBroadcasting_rowwise.cpp
244 Bytes
| using namespace std; | |
| int main() | |
| { | |
| Eigen::MatrixXf mat(2,4); | |
| mat << 1, 2, 6, 9, | |
| 3, 1, 7, 2; | |
| std::cout << "Row's maximum: " << std::endl | |
| << mat.rowwise().maxCoeff() << std::endl; | |
| } | |