#include <mrpt/math/math_frwds.h>#include <algorithm>#include <iterator>

Go to the source code of this file.
Classes | |
| struct | mrpt::math::detail::CGenericMatrixIterator< MATRIXTYPE > |
| A random-access iterator for trasversing all the elements of a matrix, left to right, top to bottom. More... | |
| struct | mrpt::math::detail::CGenericMatrixConstIterator< MATRIXTYPE > |
| A random-access const iterator for trasversing all the elements of a matrix, left to right, top to bottom. More... | |
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. | |
| namespace | mrpt::math::detail |
Defines | |
| #define | DECLARE_MRPT_MATRIX_ITERATORS |
| #define DECLARE_MRPT_MATRIX_ITERATORS |
/*! @name Iterator stuff @{ */ \ typedef mrpt::math::detail::CGenericMatrixIterator<mrpt_autotype> iterator; \ typedef mrpt::math::detail::CGenericMatrixConstIterator<mrpt_autotype> const_iterator; \ typedef std::reverse_iterator<iterator> reverse_iterator; \ typedef std::reverse_iterator<const_iterator> const_reverse_iterator; \ inline iterator begin() { return iterator(*this,0,0); } \ inline iterator end() { return iterator(*this,mrpt_autotype::getRowCount(),0); } \ inline const_iterator begin() const { return const_iterator(*this,0,0); } \ inline const_iterator end() const { return const_iterator(*this,mrpt_autotype::getRowCount(),0); } \ inline reverse_iterator rbegin() { return reverse_iterator(end()); } \ inline const_reverse_iterator rbegin() const { return const_reverse_iterator(end()); } \ inline reverse_iterator rend() { return reverse_iterator(begin()); } \ inline const_reverse_iterator rend() const { return const_reverse_iterator(begin()); } \
Definition at line 37 of file matrix_iterators.h.
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |