Auxiliary class used in CMatrixTemplate:size(), CMatrixTemplate::resize(), CMatrixFixedNumeric::size(), CMatrixFixedNumeric::resize(), to mimic the behavior of STL-containers.
Definition at line 25 of file CMatrixTemplate.h.
#include <mrpt/math/CMatrixTemplate.h>
Public Types | |
typedef std::array< size_t, 2 > | Base |
typedef CMatrixTemplateSize | mrpt_autotype |
Public Member Functions | |
CMatrixTemplateSize () | |
CMatrixTemplateSize (const size_t *d) | |
bool | operator== (const CMatrixTemplateSize &o) const |
bool | operator!= (const CMatrixTemplateSize &o) const |
operator size_t (void) const | |
This operator allows the size(N,M) to be compared with a plain size_t N*M. More... | |
Public Attributes | |
T | elements |
STL member. More... | |
typedef std::array<size_t, 2> mrpt::math::CMatrixTemplateSize::Base |
Definition at line 27 of file CMatrixTemplate.h.
Definition at line 28 of file CMatrixTemplate.h.
|
inline |
Definition at line 30 of file CMatrixTemplate.h.
|
inline |
Definition at line 31 of file CMatrixTemplate.h.
|
inline |
This operator allows the size(N,M) to be compared with a plain size_t N*M.
Definition at line 47 of file CMatrixTemplate.h.
|
inline |
Definition at line 41 of file CMatrixTemplate.h.
|
inline |
Definition at line 37 of file CMatrixTemplate.h.
References mrpt::utils::operator[]().
|
inherited |
STL member.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |