DenseBasePlugin.hpp
Go to the documentation of this file.
1 Scalar numberOfFinites() const
2 {
3  if (SizeAtCompileTime==0 || (SizeAtCompileTime==Dynamic && size()==0)) return Scalar(0);
4  return Scalar((derived().array() == derived().array()).count());
5 }
6 
7 Scalar sumOfFinites() const
8 {
9  if (SizeAtCompileTime==0 || (SizeAtCompileTime==Dynamic && size()==0)) return Scalar(0);
10  return Scalar(this->redux(Eigen::internal::scalar_sum_of_finites_op<Scalar>()));
11 }
12 
13 Scalar meanOfFinites() const
14 {
15  return Scalar(this->redux(Eigen::internal::scalar_sum_of_finites_op<Scalar>())) / this->numberOfFinites();
16 }
17 
18 Scalar minCoeffOfFinites() const
19 {
20  return Scalar(this->redux(Eigen::internal::scalar_min_of_finites_op<Scalar>()));
21 }
22 
23 Scalar maxCoeffOfFinites() const
24 {
25  return Scalar(this->redux(Eigen::internal::scalar_max_of_finites_op<Scalar>()));
26 }
Scalar meanOfFinites() const
Scalar sumOfFinites() const
Scalar maxCoeffOfFinites() const
Scalar numberOfFinites() const
Scalar minCoeffOfFinites() const


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:27