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: 9b18308f3 Mon Nov 18 23:39:25 2019 +0100 at lun nov 18 23:45:12 CET 2019