MRPT  2.0.5
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

 STL member. More...

Constructor & Destructor Documentation

◆ matrix_size_t() [1/2]

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

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 

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

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

STL member.

Page generated by Doxygen 1.8.14 for MRPT 2.0.5 Git: 40e60e732 Thu Jul 9 08:38:35 2020 +0200 at jue jul 9 08:45:11 CEST 2020