This file implements several operations that operate element-wise on individual or pairs of containers. More...
#include <mrpt/math/math_frwds.h>#include <mrpt/math/lightweight_geom_data.h>#include <functional>#include <algorithm>#include <cmath>#include <numeric>#include <mrpt/math/CHistogram.h>

Go to the source code of this file.
Namespaces | |
| namespace | mrpt |
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. | |
| namespace | mrpt::math |
This base provides a set of functions for maths stuff. | |
This file implements several operations that operate element-wise on individual or pairs of containers.
Containers here means any of: mrpt::math::CVectorTemplace, mrpt::math::CArray, mrpt::math::CMatrixFixedNumeric, mrpt::math::CMatrixTemplate.
In general, any container having a type "mrpt_autotype" self-referencing to the type itself, and a dummy struct mrpt_container<> which is only used as a way to force the compiler to assure that BOTH containers are valid ones in binary operators. This restrictions have been designed as a way to provide "polymorphism" at a template level, so the "+,-,..." operators do not generate ambiguities for ANY type, and limiting them to MRPT containers.
In some cases, the containers provide specializations of some operations, for increased performance.
Definition in file ops_containers.h.
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |