MRPT  2.0.4
List of all members | Public Member Functions | Public Attributes
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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020