MRPT  1.9.9
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 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020