<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>Eigen: PermutationWrapper< _IndicesType > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="eigendoxy.css" rel="stylesheet" type="text/css"> <!-- --> <script type="text/javascript" src="eigen_navtree_hacks.js"></script> <!-- <script type="text/javascript"> --> <!-- </script> --> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <!-- <a name="top"></a> --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectlogo"><img alt="Logo" src="Eigen_Silly_Professor_64x64.png"/></td> <td style="padding-left: 0.5em;"> <div id="projectname"><a href="http://eigen.tuxfamily.org">Eigen</a>  <span id="projectnumber">3.2.0</span> </div> </td> <td> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('classEigen_1_1PermutationWrapper.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="classEigen_1_1PermutationWrapper-members.html">List of all members</a> | <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">PermutationWrapper< _IndicesType > Class Template Reference<div class="ingroups"><a class="el" href="group__Core__Module.html">Core module</a></div></div> </div> </div><!--header--> <div class="contents"> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<typename _IndicesType><br/> class Eigen::PermutationWrapper< _IndicesType ></h3> <p>Class to view a vector of integers as a permutation matrix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">_IndicesType</td><td>the type of the vector of integer (can be any compatible expression)</td></tr> </table> </dd> </dl> <p>This class allows to view any vector expression of integers as a permutation matrix.</p> <dl class="section see"><dt>See Also</dt><dd>class <a class="el" href="classEigen_1_1PermutationBase.html" title="Base class for permutations. ">PermutationBase</a>, class <a class="el" href="classEigen_1_1PermutationMatrix.html" title="Permutation matrix. ">PermutationMatrix</a> </dd></dl> </div><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for PermutationWrapper< _IndicesType >:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="classEigen_1_1PermutationWrapper__inherit__graph.png" border="0" usemap="#PermutationWrapper_3_01__IndicesType_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="PermutationWrapper_3_01__IndicesType_01_4_inherit__map" id="PermutationWrapper_3_01__IndicesType_01_4_inherit__map"> <area shape="rect" id="node2" href="classEigen_1_1PermutationBase.html" title="{PermutationBase\< Permutation\lWrapper\< _IndicesType \> \>\n||+ applyTranspositionOnTheLeft()\l+ applyTranspositionOnTheRight()\l+ cols()\l+ indices()\l+ indices()\l+ inverse()\l+ operator*()\l+ operator*()\l+ operator=()\l+ operator=()\land 7 more...\l}" alt="" coords="5,307,227,546"/><area shape="rect" id="node3" href="structEigen_1_1EigenBase.html" title="{EigenBase\< PermutationWrapper\l\< _IndicesType \> \>\n||+ addTo()\l+ applyThisOnTheLeft()\l+ applyThisOnTheRight()\l+ cols()\l+ const_cast_derived()\l+ const_derived()\l+ derived()\l+ derived()\l+ evalTo()\l+ rows()\l+ size()\l+ subTo()\l}" alt="" coords="8,5,224,259"/></map> </div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a975548d0fd92d4b2a2cb09c2adf10ce6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classEigen_1_1PermutationWrapper.html">PermutationWrapper</a><br class="typebreak"/> < _IndicesType > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a975548d0fd92d4b2a2cb09c2adf10ce6">applyTranspositionOnTheLeft</a> (Index i, Index j)</td></tr> <tr class="separator:a975548d0fd92d4b2a2cb09c2adf10ce6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f93571373e20799e196513109f5b26e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classEigen_1_1PermutationWrapper.html">PermutationWrapper</a><br class="typebreak"/> < _IndicesType > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a3f93571373e20799e196513109f5b26e">applyTranspositionOnTheRight</a> (Index i, Index j)</td></tr> <tr class="separator:a3f93571373e20799e196513109f5b26e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaca1908a5ec508a25ff0a8bca803e5f3"><td class="memItemLeft" align="right" valign="top">Index </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#aaca1908a5ec508a25ff0a8bca803e5f3">cols</a> () const</td></tr> <tr class="separator:aaca1908a5ec508a25ff0a8bca803e5f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa84222add803ad7c9db07dd4dd91d5d9"><td class="memItemLeft" align="right" valign="top">Derived & </td><td class="memItemRight" valign="bottom"><a class="el" href="structEigen_1_1EigenBase.html#aa84222add803ad7c9db07dd4dd91d5d9">derived</a> ()</td></tr> <tr class="separator:aa84222add803ad7c9db07dd4dd91d5d9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2850de52161dfe2bb6e380f1892276b8"><td class="memItemLeft" align="right" valign="top">const Derived & </td><td class="memItemRight" valign="bottom"><a class="el" href="structEigen_1_1EigenBase.html#a2850de52161dfe2bb6e380f1892276b8">derived</a> () const </td></tr> <tr class="separator:a2850de52161dfe2bb6e380f1892276b8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a53f29dec699d5e93db152c51545bc20a"><td class="memItemLeft" align="right" valign="top">IndicesType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a53f29dec699d5e93db152c51545bc20a">indices</a> ()</td></tr> <tr class="separator:a53f29dec699d5e93db152c51545bc20a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e391bb71840d2e2be6ce94a856343d1"><td class="memItemLeft" align="right" valign="top">const internal::remove_all<br class="typebreak"/> < typename IndicesType::Nested ><br class="typebreak"/> ::type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationWrapper.html#a6e391bb71840d2e2be6ce94a856343d1">indices</a> () const </td></tr> <tr class="separator:a6e391bb71840d2e2be6ce94a856343d1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a594deabd0f368a746801f5dd14a0db2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classEigen_1_1Transpose.html">Transpose</a>< <a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a594deabd0f368a746801f5dd14a0db2a">inverse</a> () const</td></tr> <tr class="separator:a594deabd0f368a746801f5dd14a0db2a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa06f5ef5169ce3e671abbc8776d2c339"><td class="memItemLeft" align="right" valign="top">PlainPermutationType </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#aa06f5ef5169ce3e671abbc8776d2c339">operator*</a> (const <a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a>< Other > &other) const</td></tr> <tr class="separator:aa06f5ef5169ce3e671abbc8776d2c339"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0f768ef1b4347d9e26ffdaeda5ceaa65"><td class="memItemLeft" align="right" valign="top">PlainPermutationType </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a0f768ef1b4347d9e26ffdaeda5ceaa65">operator*</a> (const <a class="el" href="classEigen_1_1Transpose.html">Transpose</a>< <a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a>< Other > > &other) const</td></tr> <tr class="separator:a0f768ef1b4347d9e26ffdaeda5ceaa65"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeac38cb29a1a50007d60782ae0d41138"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#aeac38cb29a1a50007d60782ae0d41138">resize</a> (Index newSize)</td></tr> <tr class="separator:aeac38cb29a1a50007d60782ae0d41138"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5552abd83dbd03c85cea6d61fd8875a5"><td class="memItemLeft" align="right" valign="top">Index </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a5552abd83dbd03c85cea6d61fd8875a5">rows</a> () const</td></tr> <tr class="separator:a5552abd83dbd03c85cea6d61fd8875a5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a382e6ad7e6721b121e510959e1011be3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a382e6ad7e6721b121e510959e1011be3">setIdentity</a> ()</td></tr> <tr class="separator:a382e6ad7e6721b121e510959e1011be3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10a4bb6bdbaef170276db5837c1e4742"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a10a4bb6bdbaef170276db5837c1e4742">setIdentity</a> (Index newSize)</td></tr> <tr class="separator:a10a4bb6bdbaef170276db5837c1e4742"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a76f5bc8a03ec105ab4be1f2b91b7b5d5"><td class="memItemLeft" align="right" valign="top">Index </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a76f5bc8a03ec105ab4be1f2b91b7b5d5">size</a> () const</td></tr> <tr class="separator:a76f5bc8a03ec105ab4be1f2b91b7b5d5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac4bd143bb38762fd91e546dbda01069b"><td class="memItemLeft" align="right" valign="top">DenseMatrixType </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#ac4bd143bb38762fd91e546dbda01069b">toDenseMatrix</a> () const</td></tr> <tr class="separator:ac4bd143bb38762fd91e546dbda01069b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a71ed95486aeea9fb396e85461ad5b73a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classEigen_1_1Transpose.html">Transpose</a>< <a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classEigen_1_1PermutationBase.html#a71ed95486aeea9fb396e85461ad5b73a">transpose</a> () const</td></tr> <tr class="separator:a71ed95486aeea9fb396e85461ad5b73a"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a975548d0fd92d4b2a2cb09c2adf10ce6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classEigen_1_1PermutationWrapper.html">PermutationWrapper</a>< _IndicesType > & applyTranspositionOnTheLeft </td> <td>(</td> <td class="paramtype">Index </td> <td class="paramname"><em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Index </td> <td class="paramname"><em>j</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Multiplies *this by the transposition <img class="formulaInl" alt="$(ij)$" src="form_26.png"/> on the left.</p> <dl class="section return"><dt>Returns</dt><dd>a reference to *this.</dd></dl> <dl class="section warning"><dt>Warning</dt><dd>This is much slower than applyTranspositionOnTheRight(int,int): this has linear complexity and requires a lot of branching.</dd></dl> <dl class="section see"><dt>See Also</dt><dd>applyTranspositionOnTheRight(int,int) </dd></dl> </div> </div> <a class="anchor" id="a3f93571373e20799e196513109f5b26e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classEigen_1_1PermutationWrapper.html">PermutationWrapper</a>< _IndicesType > & applyTranspositionOnTheRight </td> <td>(</td> <td class="paramtype">Index </td> <td class="paramname"><em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">Index </td> <td class="paramname"><em>j</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Multiplies *this by the transposition <img class="formulaInl" alt="$(ij)$" src="form_26.png"/> on the right.</p> <dl class="section return"><dt>Returns</dt><dd>a reference to *this.</dd></dl> <p>This is a fast operation, it only consists in swapping two indices.</p> <dl class="section see"><dt>See Also</dt><dd>applyTranspositionOnTheLeft(int,int) </dd></dl> </div> </div> <a class="anchor" id="aaca1908a5ec508a25ff0a8bca803e5f3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Index cols </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the number of columns </dd></dl> </div> </div> <a class="anchor" id="aa84222add803ad7c9db07dd4dd91d5d9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Derived& derived </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>a reference to the derived object </dd></dl> <p>Referenced by <a class="el" href="classEigen_1_1MatrixBase.html#a9aaee4fba54baa7d0ca508e094f2d6f9">MatrixBase< Derived >::applyOnTheLeft()</a>, <a class="el" href="classEigen_1_1MatrixBase.html#a6e5b1e71a1916ddd01e7c324831c40dc">MatrixBase< Derived >::applyOnTheRight()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#a975548d0fd92d4b2a2cb09c2adf10ce6">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::applyTranspositionOnTheLeft()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#a3f93571373e20799e196513109f5b26e">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::applyTranspositionOnTheRight()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#ae762210a1ab89bed1673edc09a6ec8b7">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::binaryExpr()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#a878151caf2ff25ebbc76186485f81207">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::bottomLeftCorner()</a>, <a class="el" href="structEigen_1_1EigenBase.html#aaca1908a5ec508a25ff0a8bca803e5f3">EigenBase< SparseSymmetricPermutationProduct< MatrixType, UpLo > >::cols()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#aaca1908a5ec508a25ff0a8bca803e5f3">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::cols()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#a571c36d7211bd03dd1a06ac46c002fe5">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::eval()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#a8876d615d17aad77b054a8f58b699e7d">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::indices()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#a594deabd0f368a746801f5dd14a0db2a">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::inverse()</a>, <a class="el" href="classEigen_1_1RotationBase.html#acd4f0475d084e54c0dde2ef3f78822c0">RotationBase< Derived, 3 >::operator*()</a>, <a class="el" href="classEigen_1_1SparseSelfAdjointView.html#a6becf66c0294e516cbe73141c4276452">SparseSelfAdjointView< MatrixType, UpLo >::operator*()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#aa06f5ef5169ce3e671abbc8776d2c339">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::operator*()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#ae7d7083917427445e50f3c4b5bf8ba6a">SparseMatrixBase< Derived >::operator*()</a>, <a class="el" href="classEigen_1_1Transform.html#a3846f7a4b892ed530881f52a5460ddf6">Transform< Scalar, Dim, Mode, _Options >::operator*()</a>, <a class="el" href="namespaceEigen.html#a81fb70d0dc1c6deb42e9816647607247">Eigen::operator*()</a>, <a class="el" href="classEigen_1_1MatrixBase.html#ac9beaa3954c989bbbc59b361d9423e78">MatrixBase< Derived >::operator*=()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#ac96d811c408d8e282ad0036b1b9ed42f">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::operator=()</a>, <a class="el" href="classEigen_1_1DenseBase.html#acde54311cdc2b5731a6d27f7a5f7ad1b">DenseBase< Derived >::operator=()</a>, <a class="el" href="classEigen_1_1Transform.html#a746fdf41f0377f203f231a1705cf6012">Transform< Scalar, Dim, Mode, _Options >::operator=()</a>, <a class="el" href="classEigen_1_1PlainObjectBase.html#a65a58af12990c2e395a7f0b4012d3b94">PlainObjectBase< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::operator=()</a>, <a class="el" href="classEigen_1_1PlainObjectBase.html#ab5207d4c7f9d20e5fc74bfc9b54620b4">PlainObjectBase< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::PlainObjectBase()</a>, <a class="el" href="classEigen_1_1PlainObjectBase.html#abe7b7417203825a6e434449cf0ac6529">PlainObjectBase< Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::resizeLike()</a>, <a class="el" href="structEigen_1_1EigenBase.html#a5552abd83dbd03c85cea6d61fd8875a5">EigenBase< SparseSymmetricPermutationProduct< MatrixType, UpLo > >::rows()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#a5552abd83dbd03c85cea6d61fd8875a5">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::rows()</a>, <a class="el" href="classEigen_1_1SimplicialCholeskyBase.html#abe2318376d9cb41fa612b793035da397">SimplicialCholeskyBase< SimplicialLDLT< _MatrixType, _UpLo > >::solve()</a>, <a class="el" href="classEigen_1_1IterativeSolverBase.html#a7892f6fbc52bfa658e1324a63d376d1c">IterativeSolverBase< ConjugateGradient< _MatrixType, _UpLo, _Preconditioner > >::solve()</a>, <a class="el" href="classEigen_1_1SparseLU.html#a39062d90ea647b4e7668452647b04b17">SparseLU< _MatrixType, _OrderingType >::solve()</a>, <a class="el" href="classEigen_1_1UmfPackLU.html#a6c606e11055ed3d815183705c57b22b4">UmfPackLU< _MatrixType >::solve()</a>, <a class="el" href="classEigen_1_1CholmodBase.html#a81db76105fedf365cdbc200774911847">CholmodBase< _MatrixType, _UpLo, CholmodSimplicialLLT< _MatrixType, _UpLo > >::solve()</a>, <a class="el" href="classEigen_1_1SuperLUBase.html#a0bf5dc2154e2f03bf871eca997c6e6e6">SuperLUBase< _MatrixType, SuperILU< _MatrixType > >::solve()</a>, <a class="el" href="classEigen_1_1SparseMatrix.html#ab42390876ea7ef3fe4845b936c281c99">SparseMatrix< Scalar, RowMajor >::SparseMatrix()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#ac4bd143bb38762fd91e546dbda01069b">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::toDenseMatrix()</a>, <a class="el" href="classEigen_1_1SparseMatrixBase.html#ae06d0a5c4008014fb717866aec8d30c7">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::topLeftCorner()</a>, <a class="el" href="classEigen_1_1Transform.html#ae80ecf3abb4b22d409c5adbd19850aa8">Transform< Scalar, Dim, Mode, _Options >::Transform()</a>, <a class="el" href="classEigen_1_1PermutationBase.html#a71ed95486aeea9fb396e85461ad5b73a">PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::transpose()</a>, and <a class="el" href="classEigen_1_1SparseMatrixBase.html#aba9ae3923f6caa962ef3418d6872c369">SparseMatrixBase< CwiseBinaryOp< BinaryOp, Lhs, Rhs > >::unaryViewExpr()</a>.</p> </div> </div> <a class="anchor" id="a2850de52161dfe2bb6e380f1892276b8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const Derived& derived </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>a const reference to the derived object </dd></dl> </div> </div> <a class="anchor" id="a53f29dec699d5e93db152c51545bc20a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">IndicesType& indices </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>a reference to the stored array representing the permutation. </dd></dl> </div> </div> <a class="anchor" id="a6e391bb71840d2e2be6ce94a856343d1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const internal::remove_all<typename IndicesType::Nested>::type& indices </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>const version of <a class="el" href="classEigen_1_1PermutationBase.html#a53f29dec699d5e93db152c51545bc20a">indices()</a>. </p> </div> </div> <a class="anchor" id="a594deabd0f368a746801f5dd14a0db2a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classEigen_1_1Transpose.html">Transpose</a><<a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a>> inverse </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the inverse permutation matrix.</dd></dl> <dl class="section note"><dt>Note</dt><dd>This function returns the result by value. In order to make that efficient, it is implemented as just a return statement using a special constructor, hopefully allowing the compiler to perform a RVO (return value optimization). </dd></dl> </div> </div> <a class="anchor" id="aa06f5ef5169ce3e671abbc8776d2c339"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">PlainPermutationType operator* </td> <td>(</td> <td class="paramtype">const <a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a>< Other > & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the product permutation matrix.</dd></dl> <dl class="section note"><dt>Note</dt><dd>This function returns the result by value. In order to make that efficient, it is implemented as just a return statement using a special constructor, hopefully allowing the compiler to perform a RVO (return value optimization). </dd></dl> </div> </div> <a class="anchor" id="a0f768ef1b4347d9e26ffdaeda5ceaa65"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">PlainPermutationType operator* </td> <td>(</td> <td class="paramtype">const <a class="el" href="classEigen_1_1Transpose.html">Transpose</a>< <a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a>< Other > > & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the product of a permutation with another inverse permutation.</dd></dl> <dl class="section note"><dt>Note</dt><dd>This function returns the result by value. In order to make that efficient, it is implemented as just a return statement using a special constructor, hopefully allowing the compiler to perform a RVO (return value optimization). </dd></dl> </div> </div> <a class="anchor" id="aeac38cb29a1a50007d60782ae0d41138"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void resize </td> <td>(</td> <td class="paramtype">Index </td> <td class="paramname"><em>newSize</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Resizes to given size. </p> </div> </div> <a class="anchor" id="a5552abd83dbd03c85cea6d61fd8875a5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Index rows </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the number of rows </dd></dl> </div> </div> <a class="anchor" id="a382e6ad7e6721b121e510959e1011be3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void setIdentity </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets *this to be the identity permutation matrix </p> </div> </div> <a class="anchor" id="a10a4bb6bdbaef170276db5837c1e4742"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void setIdentity </td> <td>(</td> <td class="paramtype">Index </td> <td class="paramname"><em>newSize</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets *this to be the identity permutation matrix of given size. </p> </div> </div> <a class="anchor" id="a76f5bc8a03ec105ab4be1f2b91b7b5d5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Index size </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the size of a side of the respective square matrix, i.e., the number of indices </dd></dl> </div> </div> <a class="anchor" id="ac4bd143bb38762fd91e546dbda01069b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">DenseMatrixType toDenseMatrix </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>a Matrix object initialized from this permutation matrix. Notice that it is inefficient to return this Matrix object by value. For efficiency, favor using the Matrix constructor taking EigenBase objects. </dd></dl> </div> </div> <a class="anchor" id="a71ed95486aeea9fb396e85461ad5b73a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classEigen_1_1Transpose.html">Transpose</a><<a class="el" href="classEigen_1_1PermutationBase.html">PermutationBase</a>> transpose </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the tranpose permutation matrix.</dd></dl> <dl class="section note"><dt>Note</dt><dd>This function returns the result by value. In order to make that efficient, it is implemented as just a return statement using a special constructor, hopefully allowing the compiler to perform a RVO (return value optimization). </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="PermutationMatrix_8h_source.html">PermutationMatrix.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespaceEigen.html">Eigen</a></li><li class="navelem"><a class="el" href="classEigen_1_1PermutationWrapper.html">PermutationWrapper</a></li> <li class="footer">Generated on Mon Oct 28 2013 11:04:30 for Eigen by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li> </ul> </div> <!-- Piwik --> <!-- <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.sylphide-consulting.com/piwik/" : "http://stats.sylphide-consulting.com/piwik/"); document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> try { var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 20); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script><noscript><p><img src="http://stats.sylphide-consulting.com/piwik/piwik.php?idsite=20" style="border:0" alt="" /></p></noscript> --> <!-- End Piwik Tracking Code --> </body> </html>