Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2f6559b7006594cad03af173263c219e > files > 3603

mrpt-doc-0.9.4-0.1.20110110svn2383.fc15.i686.rpm

<!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>The MRPT project: mrpt::math::CMatrixD Class 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> &gt; <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.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
          <span 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>
          </span><span class="right"></span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacemrpt.html">mrpt</a>      </li>
      <li><a class="el" href="namespacemrpt_1_1math.html">math</a>      </li>
      <li><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html">CMatrixD</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>mrpt::math::CMatrixD Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mrpt::math::CMatrixD" --><!-- doxytag: inherits="mrpt::utils::CSerializable,CMatrixTemplateNumeric&lt; double &gt;" --><hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This class is a "CSerializable" wrapper for "CMatrixTemplateNumeric&lt;double&gt;". </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00050">50</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

<p><code>#include &lt;<a class="el" href="_c_matrix_d_8h_source.html">mrpt/math/CMatrixD.h</a>&gt;</code></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for mrpt::math::CMatrixD:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classmrpt_1_1math_1_1_c_matrix_d__inherit__graph.png" border="0" usemap="#mrpt_1_1math_1_1_c_matrix_d_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1math_1_1_c_matrix_d_inherit__map" id="mrpt_1_1math_1_1_c_matrix_d_inherit__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div>

<p><a href="classmrpt_1_1math_1_1_c_matrix_d-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="structmrpt_1_1math_1_1_c_matrix_d_ptr.html">CMatrixDPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#acd8c74376c33dc7d39eb061b3c114278">SmartPtr</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">virtual BASE_IMPEXP const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#afa531dfd9068fb64a0a342949974728c">GetRuntimeClass</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns information about the class of an object in runtime.  <a href="#afa531dfd9068fb64a0a342949974728c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual BASE_IMPEXP <br class="typebreak"/>
<a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#aa929ee8c57cd51dc5642a605aa70bfbd">duplicate</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the object, indepently of its class.  <a href="#aa929ee8c57cd51dc5642a605aa70bfbd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a3fe352605a05bb0adc230dcabd614bc7">CMatrixD</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a3fe352605a05bb0adc230dcabd614bc7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#aaf91d2621c1ce44967647bd9d9f91463">CMatrixD</a> (size_t row, size_t col)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aaf91d2621c1ce44967647bd9d9f91463"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#ad339b5aef7e7eeb189196c6ad1551e28">CMatrixD</a> (const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">CMatrixTemplateNumeric</a>&lt; double &gt; &amp;m)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#ad339b5aef7e7eeb189196c6ad1551e28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a886adba25c54abc5a4df17de5ccbde2d">CMatrixD</a> (const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">CMatrixFloat</a> &amp;m)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a886adba25c54abc5a4df17de5ccbde2d"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename OtherDerived &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html">CMatrixD</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a148e433bed985dbde450f346cd07c59f">operator=</a> (const Eigen::MatrixBase&lt; OtherDerived &gt; &amp;other)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename OtherDerived &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#abd5a934b6a1e7abfcff77a515ca058cf">CMatrixD</a> (const Eigen::MatrixBase&lt; OtherDerived &gt; &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#ab48a8a9c07a2d9d2bb2a24e80bb63a37">CMatrixD</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html">TPose2D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html" title="Lightweight 2D pose.">TPose2D</a>, which generates a 3x1 matrix <img class="formulaInl" alt="$ [x y \phi]^T $" src="form_1.png"/>.  <a href="#ab48a8a9c07a2d9d2bb2a24e80bb63a37"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#abadeb0e92512da5dc9dd24ad2c8c3517">CMatrixD</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html">TPose3D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html" title="Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).">TPose3D</a>, which generates a 6x1 matrix <img class="formulaInl" alt="$ [x y z yaw pitch roll]^T $" src="form_2.png"/>.  <a href="#abadeb0e92512da5dc9dd24ad2c8c3517"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#aa832eababb3da80cd38970eb86d64231">CMatrixD</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html">TPoint2D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html" title="Lightweight 2D point.">TPoint2D</a>, which generates a 2x1 matrix <img class="formulaInl" alt="$ [x y]^T $" src="form_3.png"/>.  <a href="#aa832eababb3da80cd38970eb86d64231"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a31929a5cecdb3f7dd24476cc26d0d0a1">CMatrixD</a> (const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html" title="A class used to store a 3D point.">mrpt::poses::CPoint3D</a>, which generates a 3x1 matrix <img class="formulaInl" alt="$ [x y z]^T $" src="form_4.png"/>.  <a href="#a31929a5cecdb3f7dd24476cc26d0d0a1"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class OTHERMAT &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html">CMatrixD</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a266e7874639438fa9e1f49158153d9cf">operator=</a> (const OTHERMAT &amp;m)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator for float matrixes.  <a href="#a266e7874639438fa9e1f49158153d9cf"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static BASE_IMPEXP <br class="typebreak"/>
<a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a623eb20bcd4a6b4e1fdfb97f96a81118">CreateObject</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static BASE_IMPEXP <a class="el" href="structmrpt_1_1math_1_1_c_matrix_d_ptr.html">CMatrixDPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a002bb9c438419c8ded78f251e073ac1a">Create</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static BASE_IMPEXP <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a8e990b406c7614dacc48f2b4bc6cefd4">classCMatrixD</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static BASE_IMPEXP const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a0a5fff4536cdca6742df8b153d833582">classinfo</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">CSerializable virtual methods</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BASE_IMPEXP void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a767e787b52208ab4dd46ba7f5e2fd224">writeToStream</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;out, int *getVersion) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BASE_IMPEXP void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a0194e57ec48c1dfc6aa00c23d3409143">readFromStream</a> (<a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;in, int version)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream &gt;&gt; object;" for reading it from a stream or "stream &gt;&gt; object_ptr;" if the class is unknown apriori.  <a href="#a0194e57ec48c1dfc6aa00c23d3409143"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <br class="typebreak"/>
<a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#aff60e4c94884e96f273873cfa092f87e">_GetBaseClass</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#ac6d0b6e7a4c2538b535a3a507c989960">_init_CMatrixD</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="acd8c74376c33dc7d39eb061b3c114278"></a><!-- doxytag: member="mrpt::math::CMatrixD::SmartPtr" ref="acd8c74376c33dc7d39eb061b3c114278" 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_d_ptr.html">CMatrixDPtr</a> <a class="el" href="structmrpt_1_1math_1_1_c_matrix_d_ptr.html">mrpt::math::CMatrixD::SmartPtr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A typedef for the associated smart pointer </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00060">60</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3fe352605a05bb0adc230dcabd614bc7"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="a3fe352605a05bb0adc230dcabd614bc7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00076">76</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaf91d2621c1ce44967647bd9d9f91463"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="aaf91d2621c1ce44967647bd9d9f91463" args="(size_t row, size_t col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"> <em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"> <em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00080">80</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad339b5aef7e7eeb189196c6ad1551e28"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="ad339b5aef7e7eeb189196c6ad1551e28" args="(const CMatrixTemplateNumeric&lt; double &gt; &amp;m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">CMatrixTemplateNumeric</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"> <em>m</em>&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00084">84</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="a886adba25c54abc5a4df17de5ccbde2d"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="a886adba25c54abc5a4df17de5ccbde2d" args="(const CMatrixFloat &amp;m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmrpt_1_1math_1_1_c_matrix_template_numeric.html">CMatrixFloat</a> &amp;&#160;</td>
          <td class="paramname"> <em>m</em>&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copy constructor. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00089">89</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="abd5a934b6a1e7abfcff77a515ca058cf"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="abd5a934b6a1e7abfcff77a515ca058cf" args="(const Eigen::MatrixBase&lt; OtherDerived &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename OtherDerived &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const Eigen::MatrixBase&lt; OtherDerived &gt; &amp;&#160;</td>
          <td class="paramname"> <em>other</em>&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor from any other <a class="el" href="namespace_eigen.html">Eigen</a> class </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00102">102</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab48a8a9c07a2d9d2bb2a24e80bb63a37"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="ab48a8a9c07a2d9d2bb2a24e80bb63a37" args="(const TPose2D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html">TPose2D</a> &amp;&#160;</td>
          <td class="paramname"> <em>p</em>&#160;)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from a <a class="el" href="structmrpt_1_1math_1_1_t_pose2_d.html" title="Lightweight 2D pose.">TPose2D</a>, which generates a 3x1 matrix <img class="formulaInl" alt="$ [x y \phi]^T $" src="form_1.png"/>. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00106">106</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="abadeb0e92512da5dc9dd24ad2c8c3517"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="abadeb0e92512da5dc9dd24ad2c8c3517" args="(const TPose3D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html">TPose3D</a> &amp;&#160;</td>
          <td class="paramname"> <em>p</em>&#160;)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from a <a class="el" href="structmrpt_1_1math_1_1_t_pose3_d.html" title="Lightweight 3D pose (three spatial coordinates, plus three angular coordinates).">TPose3D</a>, which generates a 6x1 matrix <img class="formulaInl" alt="$ [x y z yaw pitch roll]^T $" src="form_2.png"/>. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00110">110</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa832eababb3da80cd38970eb86d64231"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="aa832eababb3da80cd38970eb86d64231" args="(const TPoint2D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html">TPoint2D</a> &amp;&#160;</td>
          <td class="paramname"> <em>p</em>&#160;)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from a <a class="el" href="structmrpt_1_1math_1_1_t_point2_d.html" title="Lightweight 2D point.">TPoint2D</a>, which generates a 2x1 matrix <img class="formulaInl" alt="$ [x y]^T $" src="form_3.png"/>. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00114">114</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="a31929a5cecdb3f7dd24476cc26d0d0a1"></a><!-- doxytag: member="mrpt::math::CMatrixD::CMatrixD" ref="a31929a5cecdb3f7dd24476cc26d0d0a1" args="(const TPoint3D &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::math::CMatrixD::CMatrixD </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> &amp;&#160;</td>
          <td class="paramname"> <em>p</em>&#160;)</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor from a <a class="el" href="classmrpt_1_1poses_1_1_c_point3_d.html" title="A class used to store a 3D point.">mrpt::poses::CPoint3D</a>, which generates a 3x1 matrix <img class="formulaInl" alt="$ [x y z]^T $" src="form_4.png"/>. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00118">118</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aff60e4c94884e96f273873cfa092f87e"></a><!-- doxytag: member="mrpt::math::CMatrixD::_GetBaseClass" ref="aff60e4c94884e96f273873cfa092f87e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::math::CMatrixD::_GetBaseClass </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a471a2d4e8bf14cdc749d43ffb8066a12">mrpt::utils::CSerializable</a>.</p>

</div>
</div>
<a class="anchor" id="a002bb9c438419c8ded78f251e073ac1a"></a><!-- doxytag: member="mrpt::math::CMatrixD::Create" ref="a002bb9c438419c8ded78f251e073ac1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static BASE_IMPEXP <a class="el" href="structmrpt_1_1math_1_1_c_matrix_d_ptr.html">CMatrixDPtr</a> mrpt::math::CMatrixD::Create </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a623eb20bcd4a6b4e1fdfb97f96a81118"></a><!-- doxytag: member="mrpt::math::CMatrixD::CreateObject" ref="a623eb20bcd4a6b4e1fdfb97f96a81118" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static BASE_IMPEXP <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::math::CMatrixD::CreateObject </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa929ee8c57cd51dc5642a605aa70bfbd"></a><!-- doxytag: member="mrpt::math::CMatrixD::duplicate" ref="aa929ee8c57cd51dc5642a605aa70bfbd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual BASE_IMPEXP <a class="el" href="classmrpt_1_1utils_1_1_c_object.html">mrpt::utils::CObject</a>* mrpt::math::CMatrixD::duplicate </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a copy of the object, indepently of its class. </p>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_object.html#aa1070e173c5f7e307b09c53f1fd256e2">mrpt::utils::CObject</a>.</p>

</div>
</div>
<a class="anchor" id="afa531dfd9068fb64a0a342949974728c"></a><!-- doxytag: member="mrpt::math::CMatrixD::GetRuntimeClass" ref="afa531dfd9068fb64a0a342949974728c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual BASE_IMPEXP const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* mrpt::math::CMatrixD::GetRuntimeClass </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns information about the class of an object in runtime. </p>

<p>Reimplemented from <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a6861b16159daafd1651d6e0d27f39c58">mrpt::utils::CSerializable</a>.</p>

</div>
</div>
<a class="anchor" id="a266e7874639438fa9e1f49158153d9cf"></a><!-- doxytag: member="mrpt::math::CMatrixD::operator=" ref="a266e7874639438fa9e1f49158153d9cf" args="(const OTHERMAT &amp;m)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class OTHERMAT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html">CMatrixD</a>&amp; mrpt::math::CMatrixD::operator= </td>
          <td>(</td>
          <td class="paramtype">const OTHERMAT &amp;&#160;</td>
          <td class="paramname"> <em>m</em>&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assignment operator for float matrixes. </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00124">124</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="a148e433bed985dbde450f346cd07c59f"></a><!-- doxytag: member="mrpt::math::CMatrixD::operator=" ref="a148e433bed985dbde450f346cd07c59f" args="(const Eigen::MatrixBase&lt; OtherDerived &gt; &amp;other)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename OtherDerived &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html">CMatrixD</a>&amp; mrpt::math::CMatrixD::operator= </td>
          <td>(</td>
          <td class="paramtype">const Eigen::MatrixBase&lt; OtherDerived &gt; &amp;&#160;</td>
          <td class="paramname"> <em>other</em>&#160;)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assignment operator from any other <a class="el" href="namespace_eigen.html">Eigen</a> class </p>

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00096">96</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0194e57ec48c1dfc6aa00c23d3409143"></a><!-- doxytag: member="mrpt::math::CMatrixD::readFromStream" ref="a0194e57ec48c1dfc6aa00c23d3409143" args="(mrpt::utils::CStream &amp;in, int version)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BASE_IMPEXP void mrpt::math::CMatrixD::readFromStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;&#160;</td>
          <td class="paramname"> <em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>version</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream &gt;&gt; object;" for reading it from a stream or "stream &gt;&gt; object_ptr;" if the class is unknown apriori. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">in</td><td>The input binary stream where the object data must read from. </td></tr>
    <tr><td class="paramname">version</td><td>The version of the object stored in the stream: use this version number in your code to know how to read the incoming data. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::exception</td><td>On any error, see <a class="el" href="classmrpt_1_1utils_1_1_c_stream.html#a1b8cd3d084b5a95a3f65c6eed6e7cc6d" title="Reads a block of bytes from the stream into Buffer On any error, or if ZERO bytes are read...">CStream::ReadBuffer</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd>CStream </dd></dl>

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a73ba83035a64939cdc3aa1c0dfed23ec">mrpt::utils::CSerializable</a>.</p>

</div>
</div>
<a class="anchor" id="a767e787b52208ab4dd46ba7f5e2fd224"></a><!-- doxytag: member="mrpt::math::CMatrixD::writeToStream" ref="a767e787b52208ab4dd46ba7f5e2fd224" args="(mrpt::utils::CStream &amp;out, int *getVersion) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BASE_IMPEXP void mrpt::math::CMatrixD::writeToStream </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmrpt_1_1utils_1_1_c_stream.html">mrpt::utils::CStream</a> &amp;&#160;</td>
          <td class="paramname"> <em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"> <em>getVersion</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="classmrpt_1_1utils_1_1_c_serializable.html#a0b6b801e67bca3d8e0d355e7035f8013">mrpt::utils::CSerializable</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ac6d0b6e7a4c2538b535a3a507c989960"></a><!-- doxytag: member="mrpt::math::CMatrixD::_init_CMatrixD" ref="ac6d0b6e7a4c2538b535a3a507c989960" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrpt_1_1utils_1_1_c_l_a_s_s_i_n_i_t.html">mrpt::utils::CLASSINIT</a> <a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#ac6d0b6e7a4c2538b535a3a507c989960">mrpt::math::CMatrixD::_init_CMatrixD</a><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00057">57</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8e990b406c7614dacc48f2b4bc6cefd4"></a><!-- doxytag: member="mrpt::math::CMatrixD::classCMatrixD" ref="a8e990b406c7614dacc48f2b4bc6cefd4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BASE_IMPEXP <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a> <a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a8e990b406c7614dacc48f2b4bc6cefd4">mrpt::math::CMatrixD::classCMatrixD</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00061">61</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0a5fff4536cdca6742df8b153d833582"></a><!-- doxytag: member="mrpt::math::CMatrixD::classinfo" ref="a0a5fff4536cdca6742df8b153d833582" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BASE_IMPEXP const <a class="el" href="structmrpt_1_1utils_1_1_t_runtime_class_id.html">mrpt::utils::TRuntimeClassId</a>* <a class="el" href="classmrpt_1_1math_1_1_c_matrix_d.html#a0a5fff4536cdca6742df8b153d833582">mrpt::math::CMatrixD::classinfo</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_c_matrix_d_8h_source.html#l00062">62</a> of file <a class="el" href="_c_matrix_d_8h_source.html">CMatrixD.h</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.2</a> for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>