Sophie

Sophie

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

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: Modular&lt; double &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_modular_3_01double_01_4.html">Modular&lt; double &gt;</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Modular&lt; double &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__modular.html">Modular</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="LinBox::Modular&lt; double &gt;" --><!-- doxytag: inherits="LinBox::FieldInterface" -->
<p>Standard representation of <img class="formulaInl" alt="$\mathbf{Z}/m\mathbf{Z}$" src="form_4.png"/>.  
 <a href="class_lin_box_1_1_modular_3_01double_01_4.html#details">More...</a></p>

<p><code>#include &lt;modular-double.h&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for Modular&lt; double &gt;:</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="class_lin_box_1_1_modular_3_01double_01_4.png" usemap="#Modular&lt; double &gt;_map" alt=""/>
  <map id="Modular&lt; double &gt;_map" name="Modular&lt; double &gt;_map">
<area href="class_lin_box_1_1_field_interface.html" title="This field base class exists solely to aid documentation organization." alt="FieldInterface" shape="rect" coords="0,0,121,24"/>
</map>
 </div></div>
<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">unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_modular_3_01double_01_4.html#af92172c642aea28d3ee6ea0f30989c15">AccBound</a> (const Element r) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Max number of operations before reducing.  <a href="#af92172c642aea28d3ee6ea0f30989c15"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;&gt;<br/>
class LinBox::Modular&lt; double &gt;</h3>

<p>Standard representation of <img class="formulaInl" alt="$\mathbf{Z}/m\mathbf{Z}$" src="form_4.png"/>. </p>
<p>If <code>m</code> is the modulus, then elements are represented in </p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ \left \llbracket 0, m-1 \right \rrbracket.\]" src="form_49.png"/>
</p>
 <dl><dt><b>Examples: </b></dt><dd>
<p><a class="el" href="examples_2charpoly_8_c-example.html#_a10">examples/charpoly.C</a>, <a class="el" href="examples_2checksolve_8_c-example.html#_a0">examples/checksolve.C</a>, <a class="el" href="examples_2det_8_c-example.html#_a9">examples/det.C</a>, <a class="el" href="examples_2echelon_8_c-example.html#_a0">examples/echelon.C</a>, <a class="el" href="examples_2minpoly_8_c-example.html#_a7">examples/minpoly.C</a>, <a class="el" href="examples_2smithvalence_8_c-example.html#_a9">examples/smithvalence.C</a>, <a class="el" href="examples_2solve_8_c-example.html#_a3">examples/solve.C</a>, <a class="el" href="examples_2sparseelimdet_8_c-example.html#_a10">examples/sparseelimdet.C</a>, and <a class="el" href="examples_2sparseelimrank_8_c-example.html#_a8">examples/sparseelimrank.C</a>.</p>
</dd>
</dl></div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af92172c642aea28d3ee6ea0f30989c15"></a><!-- doxytag: member="LinBox::Modular&lt; double &gt;::AccBound" ref="af92172c642aea28d3ee6ea0f30989c15" args="(const Element r) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long AccBound </td>
          <td>(</td>
          <td class="paramtype">const Element&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Max number of operations before reducing. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>if <code>r=0</code>, we consider how many <code>+=</code> are performable. if <code>r=1</code>, then we look for the maximum <code>axpy</code> operations doable. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>0</code> if the field is too big, a positive number otherwise, <code>-1</code> if infinity on general fields, it is <code>1</code>. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="modular-double_8h.html">modular-double.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>