<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mrpt::math::CMatrixTemplateSize Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1math.html">math</a> </li> <li class="navelem"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">mrpt::math::CMatrixTemplateSize Struct Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::math::CMatrixTemplateSize" --><!-- doxytag: inherits="Matrix< size_t, 2, 1 >" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Auxiliary class used in <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template.html" title="This template class provides the basic functionality for a general 2D any-size, resizable container o...">CMatrixTemplate</a>:<a class="el" href="namespacemrpt_1_1math.html#a632ae0aecf78103f87f18f9ac33f7170">size()</a>, <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template.html#afebb79fd81c53f5dba00869c0ad43b9b" title="This method just checks has no effects in this class, but raises an exception if the expected size do...">CMatrixTemplate::resize()</a>, <a class="el" href="namespacemrpt_1_1math.html#a632ae0aecf78103f87f18f9ac33f7170">CMatrixFixedNumeric::size()</a>, <a class="el" href="class_eigen_1_1_plain_object_base.html#a745c89c1fb46cf196388a1cc419442a7" title="Resizes *this to a rows x cols matrix.">CMatrixFixedNumeric::resize()</a>, to mimic the behavior of STL-containers. </p> </div> <p><code>#include <<a class="el" href="_c_array_8h_source.html">mrpt/math/CArray.h</a>></code></p> <div class="dynheader"> Inheritance diagram for mrpt::math::CMatrixTemplateSize:</div> <div class="dyncontent"> <div class="center"><img src="structmrpt_1_1math_1_1_c_matrix_template_size__inherit__graph.png" border="0" usemap="#mrpt_1_1math_1_1_c_matrix_template_size_inherit__map" alt="Inheritance graph"/></div> <map name="mrpt_1_1math_1_1_c_matrix_template_size_inherit__map" id="mrpt_1_1math_1_1_c_matrix_template_size_inherit__map"> <area shape="rect" id="node2" href="class_eigen_1_1_matrix.html" title="Eigen::Matrix\< size_t, 2, 1 \>" alt="" coords="1513,7,1701,33"/><area shape="rect" id="node4" href="class_eigen_1_1_matrix.html" title="The matrix class, also used for vectors and row-vectors." alt="" coords="1272,7,1371,33"/><area shape="rect" id="node6" href="class_eigen_1_1_plain_object_base.html" title="Eigen::PlainObjectBase\< Matrix\< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols \> \>" alt="" coords="641,7,1221,33"/><area shape="rect" id="node8" href="class_eigen_1_1_plain_object_base.html" title="Dense storage base class for matrices and arrays." alt="" coords="5,7,165,33"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="structmrpt_1_1math_1_1_c_matrix_template_size-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_eigen_1_1_matrix.html">Eigen::Matrix</a>< size_t, 2, 1 > </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#a22781d28bbbd9603309db2aa56a1c50c">Base</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Base class typedef. <a href="#a22781d28bbbd9603309db2aa56a1c50c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#a39a3f83f061ccdfbce76730e1115d596">mrpt_autotype</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_eigen_1_1_matrix.html#a26fa7cd7cd75ca39fcdd85d9f79be1fc">Base::PlainObject</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_matrix.html#a26fa7cd7cd75ca39fcdd85d9f79be1fc">PlainObject</a></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#abd34ed98818bd9c62c6d3b8b4b2e372c">CMatrixTemplateSize</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#a05c05d5ad9bd535cfe17f0686cf90a8c">CMatrixTemplateSize</a> (const size_t *d)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#a449da8263ec4cfa03622b0c201b6e5f3">operator==</a> (const <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> &o) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#aeaaec5f9091ccea55fadc956d191de2a">operator!=</a> (const <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> &o) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#ad3fb9c92d76c8d181a6ca6baddfb3efb">operator size_t</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This operator allows the size(N,M) to be compared with a plain size_t N*M. <a href="#ad3fb9c92d76c8d181a6ca6baddfb3efb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_matrix.html#a1cd7b8fd2d1aca389fde3fe07ae1e413">swap</a> (MatrixBase< OtherDerived > const &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">Index </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_matrix.html#aee9fb615d9927802c383d3698d1266bd">innerStride</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">Index </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_matrix.html#a232f0c878d300ada7891b6d9d1b0a914">outerStride</a> () const </td></tr> <tr><td colspan="2"><h2><a name="friends"></a> Friends</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_matrix.html#a8d692b595be64d2a79d354837da366c5">internal::conservative_resize_like_impl</a></td></tr> </table> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a22781d28bbbd9603309db2aa56a1c50c"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::Base" ref="a22781d28bbbd9603309db2aa56a1c50c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="class_eigen_1_1_matrix.html">Eigen::Matrix</a><size_t,2,1> <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#a22781d28bbbd9603309db2aa56a1c50c">mrpt::math::CMatrixTemplateSize::Base</a></td> </tr> </table> </div> <div class="memdoc"> <p>Base class typedef. </p> <dl class="see"><dt><b>See also:</b></dt><dd>PlainObjectBase </dd></dl> <p>Reimplemented from <a class="el" href="class_eigen_1_1_matrix.html#a3937937098ba1abede25f8bfa441fecb">Eigen::Matrix< size_t, 2, 1 ></a>.</p> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00420">420</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <a class="anchor" id="a39a3f83f061ccdfbce76730e1115d596"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::mrpt_autotype" ref="a39a3f83f061ccdfbce76730e1115d596" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html#a39a3f83f061ccdfbce76730e1115d596">mrpt::math::CMatrixTemplateSize::mrpt_autotype</a></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00421">421</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <a class="anchor" id="a26fa7cd7cd75ca39fcdd85d9f79be1fc"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::PlainObject" ref="a26fa7cd7cd75ca39fcdd85d9f79be1fc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="class_eigen_1_1_matrix.html#a26fa7cd7cd75ca39fcdd85d9f79be1fc">Base::PlainObject</a> <a class="el" href="class_eigen_1_1_matrix.html#a26fa7cd7cd75ca39fcdd85d9f79be1fc">Eigen::Matrix::PlainObject</a><code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00155">155</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="a976ced6d6db59cd8d9e0406cca069311"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::@210" ref="a976ced6d6db59cd8d9e0406cca069311" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">anonymous enum<code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00151">151</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <a class="anchor" id="a6cbafec3221e1e82b4fee5d04d26410f"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::@211" ref="a6cbafec3221e1e82b4fee5d04d26410f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">anonymous enum<code> [inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00157">157</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="abd34ed98818bd9c62c6d3b8b4b2e372c"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::CMatrixTemplateSize" ref="abd34ed98818bd9c62c6d3b8b4b2e372c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::CMatrixTemplateSize::CMatrixTemplateSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00423">423</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <a class="anchor" id="a05c05d5ad9bd535cfe17f0686cf90a8c"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::CMatrixTemplateSize" ref="a05c05d5ad9bd535cfe17f0686cf90a8c" args="(const size_t *d)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::CMatrixTemplateSize::CMatrixTemplateSize </td> <td>(</td> <td class="paramtype">const size_t * </td> <td class="paramname"><em>d</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00424">424</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aee9fb615d9927802c383d3698d1266bd"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::innerStride" ref="aee9fb615d9927802c383d3698d1266bd" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Index Eigen::Matrix::innerStride </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00339">339</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <a class="anchor" id="ad3fb9c92d76c8d181a6ca6baddfb3efb"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::operator size_t" ref="ad3fb9c92d76c8d181a6ca6baddfb3efb" args="(void) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::math::CMatrixTemplateSize::operator size_t </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This operator allows the size(N,M) to be compared with a plain size_t N*M. </p> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00429">429</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <a class="anchor" id="aeaaec5f9091ccea55fadc956d191de2a"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::operator!=" ref="aeaaec5f9091ccea55fadc956d191de2a" args="(const CMatrixTemplateSize &o) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::math::CMatrixTemplateSize::operator!= </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> & </td> <td class="paramname"><em>o</em></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00427">427</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <a class="anchor" id="a449da8263ec4cfa03622b0c201b6e5f3"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::operator==" ref="a449da8263ec4cfa03622b0c201b6e5f3" args="(const CMatrixTemplateSize &o) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::math::CMatrixTemplateSize::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_c_matrix_template_size.html">CMatrixTemplateSize</a> & </td> <td class="paramname"><em>o</em></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_c_array_8h_source.html#l00426">426</a> of file <a class="el" href="_c_array_8h_source.html">CArray.h</a>.</p> </div> </div> <a class="anchor" id="a232f0c878d300ada7891b6d9d1b0a914"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::outerStride" ref="a232f0c878d300ada7891b6d9d1b0a914" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Index Eigen::Matrix::outerStride </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00340">340</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <a class="anchor" id="a1cd7b8fd2d1aca389fde3fe07ae1e413"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::swap" ref="a1cd7b8fd2d1aca389fde3fe07ae1e413" args="(MatrixBase< OtherDerived > const &other)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Eigen::Matrix::swap </td> <td>(</td> <td class="paramtype"><a class="el" href="class_eigen_1_1_matrix_base.html">MatrixBase</a>< OtherDerived > const & </td> <td class="paramname"><em>other</em></td><td>)</td> <td><code> [inline, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00336">336</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a8d692b595be64d2a79d354837da366c5"></a><!-- doxytag: member="mrpt::math::CMatrixTemplateSize::internal::conservative_resize_like_impl" ref="a8d692b595be64d2a79d354837da366c5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend struct internal::conservative_resize_like_impl<code> [friend, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00363">363</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>