<!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< _Element > 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 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_modular.html">Modular</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">Modular< _Element > Class Template Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="LinBox::Modular" --><!-- doxytag: inherits="LinBox::ModularBase" --> <p>Prime fields of positive characteristic implemented directly in <a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a>. <a href="class_lin_box_1_1_modular.html#details">More...</a></p> <p><code>#include <modular.h></code></p> <p>Inherits ModularBase< _Element >.</p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9dfbb14bf1b98a0dca6c67b23496054"></a><!-- doxytag: member="LinBox::Modular::_modulus" ref="ab9dfbb14bf1b98a0dca6c67b23496054" args="" --> Element </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lin_box_1_1_modular_base.html#ab9dfbb14bf1b98a0dca6c67b23496054">_modulus</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Private (non-static) element for modulus. <br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<class _Element><br/> class LinBox::Modular< _Element ></h3> <p>Prime fields of positive characteristic implemented directly in <a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a>. </p> <p>This parameterized field can be used to construct prime fields. Typical use would be Modular<integer> for integers modulo a large prime, <a class="el" href="class_lin_box_1_1_modular_3_01uint32__t_01_4.html" title="Specialization of class Modular for uint32_t element type.">Modular<uint32_t></a>, <a class="el" href="class_lin_box_1_1_modular_3_01int32__t_01_4.html" title="Specialization of Modular to int32_t element type with efficient dot product.">Modular<int32_t></a>, or <a class="el" href="class_lin_box_1_1_modular_3_01double_01_4.html" title="Standard representation of .">Modular<double></a> for integers modulo a wordsize prime. Each of those has specialized performance features suitable to certain applications. </p> </div><hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="field_2modular_8h.html">field/modular.h</a></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>