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