Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 3164

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.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>Eigen::JacobiRotation 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.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&#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>
        <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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_eigen.html">Eigen</a>      </li>
      <li class="navelem"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</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="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Eigen::JacobiRotation Class Reference<div class="ingroups"><a class="el" href="group___jacobi___module.html">Jacobi module</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Eigen::JacobiRotation" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Rotation given by a cosine-sine pair.</p>
<p>This class represents a Jacobi or Givens rotation. This is a 2D rotation in the plane <code>J</code> of angle <img class="formulaInl" alt="$ \theta $" src="form_251.png"/> defined by its cosine <code>c</code> and sine <code>s</code> as follow: <img class="formulaInl" alt="$ J = \left ( \begin{array}{cc} c &amp; \overline s \\ -s &amp; \overline c \end{array} \right ) $" src="form_252.png"/></p>
<p>You can apply the respective counter-clockwise rotation to a column vector <code>v</code> by applying its adjoint on the left: <img class="formulaInl" alt="$ v = J^* v $" src="form_253.png"/> that translates to the following <a class="el" href="namespace_eigen.html" title="Namespace containing all symbols from the Eigen library.">Eigen</a> code: </p>
<div class="fragment"><pre class="fragment"> v.applyOnTheLeft(J.adjoint());
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_eigen_1_1_matrix_base.html#a9885400152e84d4ec66c75db81ea1efd" title="replaces *this by *this * other.">MatrixBase::applyOnTheLeft()</a>, <a class="el" href="class_eigen_1_1_matrix_base.html#ac55d95621af611ba203816897935d108" title="replaces *this by *this * other.">MatrixBase::applyOnTheRight()</a> </dd></dl>
</div>
<p><a href="class_eigen_1_1_jacobi_rotation-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="struct_eigen_1_1_num_traits.html">NumTraits</a>&lt; Scalar &gt;::Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a32dae27026e885ddb04532200a28b3b7">RealScalar</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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a2d8cd006c58ec7f89ffadf182a2f5926">JacobiRotation</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor without any initialization.  <a href="#a2d8cd006c58ec7f89ffadf182a2f5926"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a0a86ccb0947e7e37dfd91c656483f207">JacobiRotation</a> (const Scalar &amp;c, const Scalar &amp;s)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a planar rotation from a cosine-sine pair (<em>c</em>, <code>s</code>).  <a href="#a0a86ccb0947e7e37dfd91c656483f207"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scalar &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#abc5f4e69c76a83346d679f18369eac2f">c</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scalar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a7484f4f31952c17a2904763bae8bbbc0">c</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scalar &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#aa4cffb43f9acd3e2be4719f60c226c9f">s</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scalar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#aad3f01e2a6c69a956049e46c93b21323">s</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#af97d161cc650d4675ac87efb970e599d">operator*</a> (const <a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a> &amp;other)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Concatenates two planar rotation.  <a href="#af97d161cc650d4675ac87efb970e599d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#ac2064d659d2d1f21d1b48759eeed6564">transpose</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the transposed transformation.  <a href="#ac2064d659d2d1f21d1b48759eeed6564"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#acc31d4b9771cda0ba87bacd3dabe1cb7">adjoint</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the adjoint transformation.  <a href="#acc31d4b9771cda0ba87bacd3dabe1cb7"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Derived &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#af8b31f8fcfb00f2abff8d41d260060c0">makeJacobi</a> (const <a class="el" href="class_eigen_1_1_matrix_base.html">MatrixBase</a>&lt; Derived &gt; &amp;, typename Derived::Index p, typename Derived::Index q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes <code>*this</code> as a Jacobi rotation <code>J</code> such that applying <em>J</em> on both the right and left sides of the 2x2 selfadjoint matrix <img class="formulaInl" alt="$ B = \left ( \begin{array}{cc} \text{this}_{pp} &amp; \text{this}_{pq} \\ (\text{this}_{pq})^* &amp; \text{this}_{qq} \end{array} \right )$" src="form_256.png"/> yields a diagonal matrix <img class="formulaInl" alt="$ A = J^* B J $" src="form_255.png"/>.  <a href="#af8b31f8fcfb00f2abff8d41d260060c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a2caf22a0377708c1b25c09cffdaae69a">makeJacobi</a> (<a class="el" href="class_eigen_1_1_jacobi_rotation.html#a32dae27026e885ddb04532200a28b3b7">RealScalar</a> x, Scalar y, <a class="el" href="class_eigen_1_1_jacobi_rotation.html#a32dae27026e885ddb04532200a28b3b7">RealScalar</a> z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes <code>*this</code> as a Jacobi rotation <em>J</em> such that applying <em>J</em> on both the right and left sides of the selfadjoint 2x2 matrix <img class="formulaInl" alt="$ B = \left ( \begin{array}{cc} x &amp; y \\ \overline y &amp; z \end{array} \right )$" src="form_254.png"/> yields a diagonal matrix <img class="formulaInl" alt="$ A = J^* B J $" src="form_255.png"/>.  <a href="#a2caf22a0377708c1b25c09cffdaae69a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#ae8feec85feb7a1a359751e3716c496c1">makeGivens</a> (const Scalar &amp;p, const Scalar &amp;q, Scalar *z=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes <code>*this</code> as a Givens rotation <code>G</code> such that applying <img class="formulaInl" alt="$ G^* $" src="form_257.png"/> to the left of the vector <img class="formulaInl" alt="$ V = \left ( \begin{array}{c} p \\ q \end{array} \right )$" src="form_258.png"/> yields: <img class="formulaInl" alt="$ G^* V = \left ( \begin{array}{c} r \\ 0 \end{array} \right )$" src="form_259.png"/>.  <a href="#ae8feec85feb7a1a359751e3716c496c1"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a70d6e4fbb497155382f5d6df5d4e5060">makeGivens</a> (const Scalar &amp;p, const Scalar &amp;q, Scalar *z, <a class="el" href="struct_eigen_1_1internal_1_1true__type.html">internal::true_type</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#abcba4ccc77d811dced4e61cc0a404b3d">makeGivens</a> (const Scalar &amp;p, const Scalar &amp;q, Scalar *z, <a class="el" href="struct_eigen_1_1internal_1_1false__type.html">internal::false_type</a>)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scalar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a8e26aba4ce54bc39dbbc94de7a986bec">m_c</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Scalar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a8b1dfe814f6fe2c18bd2d3f20fe8b58e">m_s</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a32dae27026e885ddb04532200a28b3b7"></a><!-- doxytag: member="Eigen::JacobiRotation::RealScalar" ref="a32dae27026e885ddb04532200a28b3b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="struct_eigen_1_1_num_traits.html">NumTraits</a>&lt;Scalar&gt;::Real <a class="el" href="class_eigen_1_1_jacobi_rotation.html#a32dae27026e885ddb04532200a28b3b7">Eigen::JacobiRotation::RealScalar</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_jacobi_source.html#l00051">51</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

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

<p>Default constructor without any initialization. </p>

<p>Definition at line <a class="el" href="_jacobi_source.html#l00054">54</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="a0a86ccb0947e7e37dfd91c656483f207"></a><!-- doxytag: member="Eigen::JacobiRotation::JacobiRotation" ref="a0a86ccb0947e7e37dfd91c656483f207" args="(const Scalar &amp;c, const Scalar &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Eigen::JacobiRotation::JacobiRotation </td>
          <td>(</td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct a planar rotation from a cosine-sine pair (<em>c</em>, <code>s</code>). </p>

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acc31d4b9771cda0ba87bacd3dabe1cb7"></a><!-- doxytag: member="Eigen::JacobiRotation::adjoint" ref="acc31d4b9771cda0ba87bacd3dabe1cb7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a> Eigen::JacobiRotation::adjoint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the adjoint transformation. </p>

<p>Definition at line <a class="el" href="_jacobi_source.html#l00075">75</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="abc5f4e69c76a83346d679f18369eac2f"></a><!-- doxytag: member="Eigen::JacobiRotation::c" ref="abc5f4e69c76a83346d679f18369eac2f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scalar&amp; Eigen::JacobiRotation::c </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="_jacobi_source.html#l00059">59</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="a7484f4f31952c17a2904763bae8bbbc0"></a><!-- doxytag: member="Eigen::JacobiRotation::c" ref="a7484f4f31952c17a2904763bae8bbbc0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scalar Eigen::JacobiRotation::c </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="ae8feec85feb7a1a359751e3716c496c1"></a><!-- doxytag: member="Eigen::JacobiRotation::makeGivens" ref="ae8feec85feb7a1a359751e3716c496c1" args="(const Scalar &amp;p, const Scalar &amp;q, Scalar *z=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Eigen::JacobiRotation::makeGivens </td>
          <td>(</td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Scalar *&#160;</td>
          <td class="paramname"><em>z</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Makes <code>*this</code> as a Givens rotation <code>G</code> such that applying <img class="formulaInl" alt="$ G^* $" src="form_257.png"/> to the left of the vector <img class="formulaInl" alt="$ V = \left ( \begin{array}{c} p \\ q \end{array} \right )$" src="form_258.png"/> yields: <img class="formulaInl" alt="$ G^* V = \left ( \begin{array}{c} r \\ 0 \end{array} \right )$" src="form_259.png"/>. </p>
<p>The value of <em>z</em> is returned if <em>z</em> is not null (the default is null). Also note that G is built such that the cosine is always real.</p>
<p>Example: </p>
<div class="fragment"><pre class="fragment"></pre></div><p> Output: </p>
<div class="fragment"><pre class="fragment"></pre></div><p>This function implements the continuous Givens rotation generation algorithm found in Anderson (2000), Discontinuous Plane Rotations and the Symmetric Eigenvalue Problem. LAPACK Working Note 150, University of Tennessee, UT-CS-00-454, December 4, 2000.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_eigen_1_1_matrix_base.html#a9885400152e84d4ec66c75db81ea1efd" title="replaces *this by *this * other.">MatrixBase::applyOnTheLeft()</a>, <a class="el" href="class_eigen_1_1_matrix_base.html#ac55d95621af611ba203816897935d108" title="replaces *this by *this * other.">MatrixBase::applyOnTheRight()</a> </dd></dl>

<p>Definition at line <a class="el" href="_jacobi_source.html#l00159">159</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="a70d6e4fbb497155382f5d6df5d4e5060"></a><!-- doxytag: member="Eigen::JacobiRotation::makeGivens" ref="a70d6e4fbb497155382f5d6df5d4e5060" args="(const Scalar &amp;p, const Scalar &amp;q, Scalar *z, internal::true_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Eigen::JacobiRotation::makeGivens </td>
          <td>(</td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Scalar *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_eigen_1_1internal_1_1true__type.html">internal::true_type</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_jacobi_source.html#l00167">167</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="abcba4ccc77d811dced4e61cc0a404b3d"></a><!-- doxytag: member="Eigen::JacobiRotation::makeGivens" ref="abcba4ccc77d811dced4e61cc0a404b3d" args="(const Scalar &amp;p, const Scalar &amp;q, Scalar *z, internal::false_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Eigen::JacobiRotation::makeGivens </td>
          <td>(</td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Scalar &amp;&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Scalar *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_eigen_1_1internal_1_1false__type.html">internal::false_type</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_jacobi_source.html#l00222">222</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="af8b31f8fcfb00f2abff8d41d260060c0"></a><!-- doxytag: member="Eigen::JacobiRotation::makeJacobi" ref="af8b31f8fcfb00f2abff8d41d260060c0" args="(const MatrixBase&lt; Derived &gt; &amp;, typename Derived::Index p, typename Derived::Index q)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Derived &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool Eigen::JacobiRotation::makeJacobi </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_eigen_1_1_matrix_base.html">MatrixBase</a>&lt; Derived &gt; &amp;&#160;</td>
          <td class="paramname"><em>m</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename Derived::Index&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename Derived::Index&#160;</td>
          <td class="paramname"><em>q</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Makes <code>*this</code> as a Jacobi rotation <code>J</code> such that applying <em>J</em> on both the right and left sides of the 2x2 selfadjoint matrix <img class="formulaInl" alt="$ B = \left ( \begin{array}{cc} \text{this}_{pp} &amp; \text{this}_{pq} \\ (\text{this}_{pq})^* &amp; \text{this}_{qq} \end{array} \right )$" src="form_256.png"/> yields a diagonal matrix <img class="formulaInl" alt="$ A = J^* B J $" src="form_255.png"/>. </p>
<p>Example: </p>
<div class="fragment"><pre class="fragment"></pre></div><p> Output: </p>
<div class="fragment"><pre class="fragment"></pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a2caf22a0377708c1b25c09cffdaae69a" title="Makes *this as a Jacobi rotation J such that applying J on both the right and left sides of the selfa...">JacobiRotation::makeJacobi(RealScalar, Scalar, RealScalar)</a>, <a class="el" href="class_eigen_1_1_matrix_base.html#a9885400152e84d4ec66c75db81ea1efd" title="replaces *this by *this * other.">MatrixBase::applyOnTheLeft()</a>, <a class="el" href="class_eigen_1_1_matrix_base.html#ac55d95621af611ba203816897935d108" title="replaces *this by *this * other.">MatrixBase::applyOnTheRight()</a> </dd></dl>

<p>Definition at line <a class="el" href="_jacobi_source.html#l00137">137</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="a2caf22a0377708c1b25c09cffdaae69a"></a><!-- doxytag: member="Eigen::JacobiRotation::makeJacobi" ref="a2caf22a0377708c1b25c09cffdaae69a" args="(RealScalar x, Scalar y, RealScalar z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Eigen::JacobiRotation::makeJacobi </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a32dae27026e885ddb04532200a28b3b7">RealScalar</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Scalar&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_eigen_1_1_jacobi_rotation.html#a32dae27026e885ddb04532200a28b3b7">RealScalar</a>&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Makes <code>*this</code> as a Jacobi rotation <em>J</em> such that applying <em>J</em> on both the right and left sides of the selfadjoint 2x2 matrix <img class="formulaInl" alt="$ B = \left ( \begin{array}{cc} x &amp; y \\ \overline y &amp; z \end{array} \right )$" src="form_254.png"/> yields a diagonal matrix <img class="formulaInl" alt="$ A = J^* B J $" src="form_255.png"/>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>MatrixBase::makeJacobi(const MatrixBase&lt;Derived&gt;&amp;, Index, Index), <a class="el" href="class_eigen_1_1_matrix_base.html#a9885400152e84d4ec66c75db81ea1efd" title="replaces *this by *this * other.">MatrixBase::applyOnTheLeft()</a>, <a class="el" href="class_eigen_1_1_matrix_base.html#ac55d95621af611ba203816897935d108" title="replaces *this by *this * other.">MatrixBase::applyOnTheRight()</a> </dd></dl>

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

</div>
</div>
<a class="anchor" id="af97d161cc650d4675ac87efb970e599d"></a><!-- doxytag: member="Eigen::JacobiRotation::operator*" ref="af97d161cc650d4675ac87efb970e599d" args="(const JacobiRotation &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a> Eigen::JacobiRotation::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Concatenates two planar rotation. </p>

<p>Definition at line <a class="el" href="_jacobi_source.html#l00065">65</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="aa4cffb43f9acd3e2be4719f60c226c9f"></a><!-- doxytag: member="Eigen::JacobiRotation::s" ref="aa4cffb43f9acd3e2be4719f60c226c9f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scalar&amp; Eigen::JacobiRotation::s </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="_jacobi_source.html#l00061">61</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="aad3f01e2a6c69a956049e46c93b21323"></a><!-- doxytag: member="Eigen::JacobiRotation::s" ref="aad3f01e2a6c69a956049e46c93b21323" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scalar Eigen::JacobiRotation::s </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_jacobi_source.html#l00062">62</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="ac2064d659d2d1f21d1b48759eeed6564"></a><!-- doxytag: member="Eigen::JacobiRotation::transpose" ref="ac2064d659d2d1f21d1b48759eeed6564" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_eigen_1_1_jacobi_rotation.html">JacobiRotation</a> Eigen::JacobiRotation::transpose </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the transposed transformation. </p>

<p>Definition at line <a class="el" href="_jacobi_source.html#l00072">72</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a8e26aba4ce54bc39dbbc94de7a986bec"></a><!-- doxytag: member="Eigen::JacobiRotation::m_c" ref="a8e26aba4ce54bc39dbbc94de7a986bec" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scalar <a class="el" href="class_eigen_1_1_jacobi_rotation.html#a8e26aba4ce54bc39dbbc94de7a986bec">Eigen::JacobiRotation::m_c</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_jacobi_source.html#l00087">87</a> of file <a class="el" href="_jacobi_source.html">Jacobi</a>.</p>

</div>
</div>
<a class="anchor" id="a8b1dfe814f6fe2c18bd2d3f20fe8b58e"></a><!-- doxytag: member="Eigen::JacobiRotation::m_s" ref="a8b1dfe814f6fe2c18bd2d3f20fe8b58e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Scalar <a class="el" href="class_eigen_1_1_jacobi_rotation.html#a8b1dfe814f6fe2c18bd2d3f20fe8b58e">Eigen::JacobiRotation::m_s</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_jacobi_source.html#l00087">87</a> of file <a class="el" href="_jacobi_source.html">Jacobi</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>