Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c5653a35bb94fee65ffe21230992c863 > files > 283

linbox-doc-1.2.1-1.fc15.noarch.rpm

<!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"/>
<title>linbox: SmithFormBinary&lt; _Ring, _oneInvariantFactor, _Rank &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">linbox</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_lin_box.html">LinBox</a>      </li>
      <li class="navelem"><a class="el" href="class_lin_box_1_1_smith_form_binary.html">SmithFormBinary</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">SmithFormBinary&lt; _Ring, _oneInvariantFactor, _Rank &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="LinBox::SmithFormBinary" -->
<p>Compute Smith form.  
 <a href="class_lin_box_1_1_smith_form_binary.html#details">More...</a></p>

<p><code>#include &lt;smith-form-binary.h&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e6c0c6fff41abb8af20e2a724c72904"></a><!-- doxytag: member="LinBox::SmithFormBinary::SmithFormBinary" ref="a5e6c0c6fff41abb8af20e2a724c72904" args="(const oneInvariantFactor &amp;_oif=oneInvariantFactor(), const Rank &amp;_rank=Rank(), const Ring &amp;_r=Ring(), int _oifthreshold=DEFAULTOIFTHRESHOLD, int _lifthreshold=DEFAULTLIFTHRESHOLD)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#a5e6c0c6fff41abb8af20e2a724c72904">SmithFormBinary</a> (const oneInvariantFactor &amp;_oif=oneInvariantFactor(), const Rank &amp;_rank=Rank(), const Ring &amp;_r=Ring(), int _oifthreshold=DEFAULTOIFTHRESHOLD, int _lifthreshold=DEFAULTLIFTHRESHOLD)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor <br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ace471586a8c62580d1f305ba6f164ce0"></a><!-- doxytag: member="LinBox::SmithFormBinary::smithForm" ref="ace471586a8c62580d1f305ba6f164ce0" args="(Vector &amp;sf, const IMatrix &amp;A, const VectorP &amp;PrimeL) const " -->
template&lt;class IMatrix , class Vector , class VectorP &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Vector &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#ace471586a8c62580d1f305ba6f164ce0">smithForm</a> (Vector &amp;sf, const IMatrix &amp;A, const VectorP &amp;PrimeL) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the Smith Form of an integer matrix, ignoring these factors of primes in PrimeL <br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a19608283632b6b2aca3c6fc252bab9f5"></a><!-- doxytag: member="LinBox::SmithFormBinary::smithFormBinary" ref="a19608283632b6b2aca3c6fc252bab9f5" args="(Vector &amp;sf, const IMatrix &amp;A) const " -->
template&lt;class IMatrix , class Vector &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Vector &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#a19608283632b6b2aca3c6fc252bab9f5">smithFormBinary</a> (Vector &amp;sf, const IMatrix &amp;A) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the Smith Form of an integer matrix <br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class IMatrix , class Vector , class VectorP &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Vector &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#aad756ef64b2288d4d5bbc9e7194ac838">smithFormBackward</a> (Vector &amp;sf, const IMatrix &amp;A, const VectorP &amp;PrimeL) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the Smith Form of an integer matrix, ignoring these factors of primes in PrimeL Using backward search descibed by B.  <a href="#aad756ef64b2288d4d5bbc9e7194ac838"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a615a686a3643a7d26249f019e1fbc8b4"></a><!-- doxytag: member="LinBox::SmithFormBinary::smithFormBackward" ref="a615a686a3643a7d26249f019e1fbc8b4" args="(Vector &amp;sf, const IMatrix &amp;A) const " -->
template&lt;class IMatrix , class Vector &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Vector &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#a615a686a3643a7d26249f019e1fbc8b4">smithFormBackward</a> (Vector &amp;sf, const IMatrix &amp;A) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the Smith Form of an integer matrix Using backward binary search. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a0f00de918dcdbdd904e1a073dfded3ff"></a><!-- doxytag: member="LinBox::SmithFormBinary::firstInvariantFactor" ref="a0f00de918dcdbdd904e1a073dfded3ff" args="(Integer &amp;fif, const IMatrix &amp;A, const Vector &amp;PrimeL) const " -->
template&lt;class IMatrix , class Vector &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Integer &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#a0f00de918dcdbdd904e1a073dfded3ff">firstInvariantFactor</a> (Integer &amp;fif, const IMatrix &amp;A, const Vector &amp;PrimeL) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">compute the 1st invariant factor, = GCD (all element in A), missing these factors of primes in PrimeL <br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a3fe81e80a3aff2882f0a736ad1e2bcd8"></a><!-- doxytag: member="LinBox::SmithFormBinary::smithFormBinarySearch" ref="a3fe81e80a3aff2882f0a736ad1e2bcd8" args="(Vector &amp;sf, const IMatrix &amp;A, int i, int j, const VectorP &amp;PrimeL) const " -->
template&lt;class IMatrix , class Vector , class VectorP &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Vector &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#a3fe81e80a3aff2882f0a736ad1e2bcd8">smithFormBinarySearch</a> (Vector &amp;sf, const IMatrix &amp;A, int i, int j, const VectorP &amp;PrimeL) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Binary search invariant factors between i and j, missing those factors in PrimeL suppose sf[i - 1], sf [j - 1] are ith and jth invariant factor of A i &lt;= j. <br/></td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a97e27a7f9abbad213268f05e2ab8b832"></a><!-- doxytag: member="LinBox::SmithFormBinary::smithFormBinarySearchBackward" ref="a97e27a7f9abbad213268f05e2ab8b832" args="(Vector &amp;sf, const IMatrix &amp;A, int i, int j, int depth, const VectorP &amp;PrimeL) const " -->
template&lt;class IMatrix , class Vector , class VectorP &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">Vector &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_binary.html#a97e27a7f9abbad213268f05e2ab8b832">smithFormBinarySearchBackward</a> (Vector &amp;sf, const IMatrix &amp;A, int i, int j, int depth, const VectorP &amp;PrimeL) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Binary search invariant factors between i and j, missing those factors in PrimeL suppose sf[i - 1], sf [j - 1] are ith and jth invariant factor of A i &lt;= j. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class _Ring, class _oneInvariantFactor, class _Rank&gt;<br/>
class LinBox::SmithFormBinary&lt; _Ring, _oneInvariantFactor, _Rank &gt;</h3>

<p>Compute Smith form. </p>
<p>This is an implementation of EGV and EGV+ algorithms See EGV (FOCS '00) and SW (ISSAC '04) papers. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aad756ef64b2288d4d5bbc9e7194ac838"></a><!-- doxytag: member="LinBox::SmithFormBinary::smithFormBackward" ref="aad756ef64b2288d4d5bbc9e7194ac838" args="(Vector &amp;sf, const IMatrix &amp;A, const VectorP &amp;PrimeL) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector&amp; smithFormBackward </td>
          <td>(</td>
          <td class="paramtype">Vector &amp;&#160;</td>
          <td class="paramname"><em>sf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const IMatrix &amp;&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const VectorP &amp;&#160;</td>
          <td class="paramname"><em>PrimeL</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>compute the Smith Form of an integer matrix, ignoring these factors of primes in PrimeL Using backward search descibed by B. </p>
<p>D. Saunders. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="smith-form-binary_8h.html">smith-form-binary.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Aug 30 2011 for linbox by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>