gtsam
3rdparty
Eigen
doc
examples
Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp
Go to the documentation of this file.
1
#include <iostream>
2
#include <Eigen/Dense>
3
4
using namespace
std
;
5
int
main
()
6
{
7
Eigen::MatrixXf
mat
(2,4);
8
mat << 1, 2, 6, 9,
9
3, 1, 7, 2;
10
11
std::cout <<
"Column's maximum: "
<< std::endl
12
<< mat.colwise().maxCoeff() << std::endl;
13
}
std
Definition:
BFloat16.h:88
mat
MatrixXf mat
Definition:
Tutorial_AdvancedInitialization_CommaTemporary.cpp:1
main
int main()
Definition:
Tutorial_ReductionsVisitorsBroadcasting_colwise.cpp:5
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:38