<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CPPLapack: dcomponent.hpp Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">CPPLapack
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <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="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_a37d0dd275f7ec49ee26f1d33d1059f5.html">include</a>      </li>
      <li class="navelem"><a class="el" href="dir_6b3dfa438ec86db340f5a67d4c466d48.html">misc</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">dcomponent.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="dcomponent_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//=============================================================================</span><span class="comment"></span>
<a name="l00002"></a>00002 <span class="comment">//! Component Class for Real Double-precision Sparse Matrix Classes</span>
<a name="l00003"></a><a class="code" href="classdcomponent.html">00003</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>
<a name="l00004"></a>00004 {
<a name="l00005"></a>00005 <span class="keyword">public</span>:<span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">  ///////////////////////////////////////////////</span>
<a name="l00007"></a>00007 <span class="comment">  /////////////////// objects ///////////////////</span>
<a name="l00008"></a>00008 <span class="comment">  ///////////////////////////////////////////////</span>
<a name="l00009"></a><a class="code" href="classdcomponent.html#aaffd8b46bcffb2c6222302ea7387d60a">00009</a> <span class="comment"></span>  uint32_t <a class="code" href="classdcomponent.html#aaffd8b46bcffb2c6222302ea7387d60a" title="i index of the component">i</a>; <span class="comment">//!&lt; i index of the component</span>
<a name="l00010"></a><a class="code" href="classdcomponent.html#a75825143d08385d376b6dbba41bd6771">00010</a> <span class="comment"></span>  uint32_t <a class="code" href="classdcomponent.html#a75825143d08385d376b6dbba41bd6771" title="j index of the component">j</a>; <span class="comment">//!&lt; j index of the component</span>
<a name="l00011"></a><a class="code" href="classdcomponent.html#a94206d9b9b404ab6b18ffeff56499e64">00011</a> <span class="comment"></span>  <span class="keywordtype">double</span> <a class="code" href="classdcomponent.html#a94206d9b9b404ab6b18ffeff56499e64" title="value of the component">v</a>; <span class="comment">//!&lt; value of the component</span>
<a name="l00012"></a>00012 <span class="comment"></span>  <span class="comment"></span>
<a name="l00013"></a>00013 <span class="comment">  ///////////////////////////////////////////////</span>
<a name="l00014"></a>00014 <span class="comment">  ///////////////// constructors ////////////////</span>
<a name="l00015"></a>00015 <span class="comment">  ///////////////////////////////////////////////</span>
<a name="l00016"></a><a class="code" href="classdcomponent.html#a39a6a14bd868bbfc5470ba00d428ca57">00016</a> <span class="comment"></span>  <span class="keyword">inline</span> <a class="code" href="classdcomponent.html#a39a6a14bd868bbfc5470ba00d428ca57">dcomponent</a>(){ ; }
<a name="l00017"></a><a class="code" href="classdcomponent.html#a3db5818172d40b19e79b90466daaa6ff">00017</a>   <span class="keyword">inline</span> <a class="code" href="classdcomponent.html#a3db5818172d40b19e79b90466daaa6ff">dcomponent</a>(<span class="keyword">const</span> uint32_t&amp; _i, <span class="keyword">const</span> uint32_t&amp; _j, <span class="keyword">const</span> <span class="keywordtype">double</span>&amp; _v) :<a class="code" href="classdcomponent.html#aaffd8b46bcffb2c6222302ea7387d60a" title="i index of the component">i</a>(_i), <a class="code" href="classdcomponent.html#a75825143d08385d376b6dbba41bd6771" title="j index of the component">j</a>(_j), <a class="code" href="classdcomponent.html#a94206d9b9b404ab6b18ffeff56499e64" title="value of the component">v</a>(_v){ ; }
<a name="l00018"></a>00018   <span class="comment"></span>
<a name="l00019"></a>00019 <span class="comment">  ///////////////////////////////////////////////</span>
<a name="l00020"></a>00020 <span class="comment">  ////////////////// functions //////////////////</span>
<a name="l00021"></a>00021 <span class="comment">  ///////////////////////////////////////////////</span>
<a name="l00022"></a>00022 <span class="comment"></span>  <span class="keyword">inline</span> <span class="keyword">friend</span> std::ostream&amp; <a class="code" href="classdcomponent.html#a2f8a2c55dad9f04cb48bcb108335dd1d">operator&lt;&lt;</a>(std::ostream&amp;, <span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp;);
<a name="l00023"></a>00023   <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classdcomponent.html#a357f2a179e6b80f55fc69d18ac5591dc">ilt</a>(<span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp;, <span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp;);
<a name="l00024"></a>00024   <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classdcomponent.html#a2b6ab45c7d6332840aafe4ef8fbadb1a">jlt</a>(<span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp;, <span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp;);
<a name="l00025"></a>00025 };
<a name="l00026"></a>00026 <span class="comment"></span>
<a name="l00027"></a>00027 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>
<a name="l00028"></a>00028 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>
<a name="l00029"></a>00029 <span class="comment">///////////////////////////////////////////////////////////////////////////////</span>
<a name="l00030"></a>00030 <span class="comment"></span>
<a name="l00031"></a>00031 <span class="comment">//=============================================================================</span>
<a name="l00032"></a><a class="code" href="dcomponent_8hpp.html#afff600dc27147ab34039a59a4e294c04">00032</a> <span class="keyword">inline</span> std::ostream&amp; <a class="code" href="__dcovector-io_8hpp.html#a3b0e58e4a6b7875ea3e3611768b5f8d6">operator&lt;&lt;</a>(std::ostream&amp; s, <span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp; c)
<a name="l00033"></a>00033 {VERBOSE_REPORT;
<a name="l00034"></a>00034   s &lt;&lt; <span class="stringliteral">&quot;(&quot;</span> &lt;&lt; c.<a class="code" href="classdcomponent.html#aaffd8b46bcffb2c6222302ea7387d60a" title="i index of the component">i</a> &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; c.<a class="code" href="classdcomponent.html#a75825143d08385d376b6dbba41bd6771" title="j index of the component">j</a> &lt;&lt; <span class="stringliteral">&quot;,  &quot;</span> &lt;&lt; c.<a class="code" href="classdcomponent.html#a94206d9b9b404ab6b18ffeff56499e64" title="value of the component">v</a> &lt;&lt; <span class="stringliteral">&quot;)&quot;</span> &lt;&lt; std::flush;
<a name="l00035"></a>00035   <span class="keywordflow">return</span> s;
<a name="l00036"></a>00036 }
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="comment">//=============================================================================</span><span class="comment"></span>
<a name="l00039"></a>00039 <span class="comment">/*! lessthan function for i of dcomponent */</span>
<a name="l00040"></a><a class="code" href="classdcomponent.html#a357f2a179e6b80f55fc69d18ac5591dc">00040</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classdcomponent.html#a357f2a179e6b80f55fc69d18ac5591dc">dcomponent::ilt</a>(<span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp; b)
<a name="l00041"></a>00041 {VERBOSE_REPORT;
<a name="l00042"></a>00042   <span class="keywordflow">return</span> a.<a class="code" href="classdcomponent.html#aaffd8b46bcffb2c6222302ea7387d60a" title="i index of the component">i</a> &lt; b.<a class="code" href="classdcomponent.html#aaffd8b46bcffb2c6222302ea7387d60a" title="i index of the component">i</a>;
<a name="l00043"></a>00043 }
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="comment">//=============================================================================</span><span class="comment"></span>
<a name="l00046"></a>00046 <span class="comment">/*! lessthan function for j of dcomponent */</span>
<a name="l00047"></a><a class="code" href="classdcomponent.html#a2b6ab45c7d6332840aafe4ef8fbadb1a">00047</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classdcomponent.html#a2b6ab45c7d6332840aafe4ef8fbadb1a">dcomponent::jlt</a>(<span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp; a, <span class="keyword">const</span> <a class="code" href="classdcomponent.html" title="Component Class for Real Double-precision Sparse Matrix Classes.">dcomponent</a>&amp; b)
<a name="l00048"></a>00048 {VERBOSE_REPORT;
<a name="l00049"></a>00049   <span class="keywordflow">return</span> a.<a class="code" href="classdcomponent.html#a75825143d08385d376b6dbba41bd6771" title="j index of the component">j</a> &lt; b.<a class="code" href="classdcomponent.html#a75825143d08385d376b6dbba41bd6771" title="j index of the component">j</a>;
<a name="l00050"></a>00050 }
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
