MRPT  1.9.9
mrpt::math::matrix_size_t Struct Reference

Detailed Description

Auxiliary class used in CMatrixDynamic:size(), CMatrixDynamic::resize(), CMatrixFixed::size(), CMatrixFixed::resize(), to mimic the behavior of STL-containers.

Definition at line 20 of file matrix_size_t.h.

#include <mrpt/math/matrix_size_t.h>

Inheritance diagram for mrpt::math::matrix_size_t:

Public Member Functions

constexpr matrix_size_t ()
 
constexpr matrix_size_t (const std::size_t rows, const std::size_t cols)
 
 operator std::size_t () const
 Cast to size_t as the overall number of matrix/vector elements. More...
 

Public Attributes

elements
 STL member. More...
 

Constructor & Destructor Documentation

◆ matrix_size_t() [1/2]

constexpr mrpt::math::matrix_size_t::matrix_size_t ( )
inline

Definition at line 22 of file matrix_size_t.h.

◆ matrix_size_t() [2/2]

constexpr mrpt::math::matrix_size_t::matrix_size_t ( const std::size_t  rows,
const std::size_t  cols 
)
inline

Definition at line 23 of file matrix_size_t.h.

Member Function Documentation

◆ operator std::size_t()

mrpt::math::matrix_size_t::operator std::size_t ( ) const
inline

Cast to size_t as the overall number of matrix/vector elements.

Definition at line 29 of file matrix_size_t.h.

Member Data Documentation

◆ elements

T std::array< T >::elements
inherited

STL member.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019