<!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: vector</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><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> <div class="header"> <div class="headertitle"> <div class="title">vector</div> </div> </div> <div class="contents"> <p><a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a> vectors. <a href="#details">More...</a></p> <table class="memberdecls"> </table> <p><a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a> vectors. </p> <p>All <a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a> dense vectors must implement the dense vector common object interface as it is defined in the dense vector <a class="el" href="_archetypes.html">archetype</a>. It is basically the non-resizing subset of functionality of the STL <code>vector<T></code> container. For information on the STL vector, see SGI's <a href="http://www.sgi.com/Technology/STL/">Standard Template Library Programmer's Guide</a>.</p> <p>All <a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a> sparse vectors must implement the sparse vector common object interface as it is defined in the sparse vector <a class="el" href="_archetypes.html">archetype</a>.</p> <p>The <a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a> sparse vector common object interface is the same as either the STL sequence of pairs of <code>size_t</code> and a field element or an STL unique and pair associative container. (That is, an STL <code>map</code> without the <code>operator[]</code>.) It is also always assumed that the entries in the sparse vector are in ascending order starting with the first index no less than zero.</p> <p><a class="el" href="namespace_lin_box.html" title="Namespace in which all linbox code resides.">LinBox</a> vectors are indexed starting at zero, not one, just like STL vectors and C-style arrays.</p> <dl class="see"><dt><b>See also:</b></dt><dd>Archetypes </dd></dl> </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>