<!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: SmithFormIliopoulos Class 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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data 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_iliopoulos.html">SmithFormIliopoulos</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pro-static-methods">Static Protected Member Functions</a> </div> <div class="headertitle"> <div class="title">SmithFormIliopoulos Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="LinBox::SmithFormIliopoulos" --> <p>This is Iliopoulos' algorithm do diagonalize. <a href="class_lin_box_1_1_smith_form_iliopoulos.html#details">More...</a></p> <p><code>#include <smith-form-iliopoulos.h></code></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pro-static-methods"></a> Static Protected Member Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template<class Matrix , class Ring > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_iliopoulos.html#a05223e776923ad354e8a367868271d9c">eliminationRow</a> (<a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> &A, const Ring &r)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">eliminationRow will make the first row (*, 0, ..., 0) by col operations. <a href="#a05223e776923ad354e8a367868271d9c"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class Matrix , class Ring > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_iliopoulos.html#a63aee05aeb307ee96f53f0fd31aa7239">eliminationCol</a> (<a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> &A, const Ring &r)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">eliminationCol will make the first col (*, 0, ..., 0) by elementary row operation. <a href="#a63aee05aeb307ee96f53f0fd31aa7239"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a231b6336921347e4d7db57c857621be8"></a><!-- doxytag: member="LinBox::SmithFormIliopoulos::diagonalizationIn" ref="a231b6336921347e4d7db57c857621be8" args="(Matrix &A, const Ring &r)" --> template<class Matrix , class Ring > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_smith_form_iliopoulos.html#a231b6336921347e4d7db57c857621be8">diagonalizationIn</a> (<a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> &A, const Ring &r)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Diagonalize the matrix A. <br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This is Iliopoulos' algorithm do diagonalize. </p> <p>Compute Smith Form by elimination modulo m, for some modulus m such as S(n), the last invariant factor. The elimination method is originally described in </p> <dl class="bib"><dt><b><a class="el" href="bib.html#_bib000016">Bibliography:</a></b></dt><dd><em>Worst Case Complexity Bounds on Algorithms for computing the Canonical Structure of Finite Abelian Groups and the Hermite and Smith Normal Forms of an Integer Matrix</em>, by Costas Iliopoulos. </dd></dl> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a05223e776923ad354e8a367868271d9c"></a><!-- doxytag: member="LinBox::SmithFormIliopoulos::eliminationRow" ref="a05223e776923ad354e8a367868271d9c" args="(Matrix &A, const Ring &r)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a>& eliminationRow </td> <td>(</td> <td class="paramtype"><a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> & </td> <td class="paramname"><em>A</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Ring & </td> <td class="paramname"><em>r</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>eliminationRow will make the first row (*, 0, ..., 0) by col operations. </p> <p>It is the implementation of Iliopoulos algorithm </p> </div> </div> <a class="anchor" id="a63aee05aeb307ee96f53f0fd31aa7239"></a><!-- doxytag: member="LinBox::SmithFormIliopoulos::eliminationCol" ref="a63aee05aeb307ee96f53f0fd31aa7239" args="(Matrix &A, const Ring &r)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a>& eliminationCol </td> <td>(</td> <td class="paramtype"><a class="el" href="class_lin_box_1_1_zero_one.html">Matrix</a> & </td> <td class="paramname"><em>A</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const Ring & </td> <td class="paramname"><em>r</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, static, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>eliminationCol will make the first col (*, 0, ..., 0) by elementary row operation. </p> <p>It is the implementation of Iliopoulos algorithm </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>smith-form-iliopoulos.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Aug 30 2011 for linbox by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>