Auxiliary class used in CMatrixTemplate:size(), CMatrixTemplate::resize(), CMatrixFixedNumeric::size(), CMatrixFixedNumeric::resize(), to mimic the behavior of STL-containers.
Definition at line 24 of file CMatrixTemplate.h.
#include <mrpt/math/CMatrixTemplate.h>
Public Types | |
using | Base = std::array< size_t, 2 > |
using | mrpt_autotype = CMatrixTemplateSize |
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... | |
using mrpt::math::CMatrixTemplateSize::Base = std::array<size_t, 2> |
Definition at line 26 of file CMatrixTemplate.h.
Definition at line 27 of file CMatrixTemplate.h.
|
inline |
Definition at line 29 of file CMatrixTemplate.h.
|
inline |
Definition at line 30 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 46 of file CMatrixTemplate.h.
|
inline |
Definition at line 40 of file CMatrixTemplate.h.
|
inline |
Definition at line 36 of file CMatrixTemplate.h.
References mrpt::containers::operator[]().
|
inherited |
STL member.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |