<!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: zhecomplex Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><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="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">zhecomplex Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="zhecomplex" -->
<p>(DO NOT USE) Complex-double Class for Hermitian matrices  
 <a href="classzhecomplex.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>&gt;</code></p>

<p><a href="classzhecomplex-members.html">List of all members.</a></p>
<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">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzhecomplex.html#a4ca40169ea0b7f28c6645010a87b9d34">zhecomplex</a> (const long &amp;, const long &amp;, comple &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzhecomplex.html">zhecomplex</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzhecomplex.html#a23d4a4f8e2b186cb75f05728cac14d7e">operator=</a> (const comple &amp;)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzhecomplex.html#abb4ddc5cf55deaaef217c3a00da00510">i</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzhecomplex.html#a7f1ad8d01b5bddfaad9c49cc2baa2c91">j</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">comple &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzhecomplex.html#a3288702b44397ee1ac989ee3bd2b5782">v</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>(DO NOT USE) Complex-double Class for Hermitian matrices </p>

<p>Definition at line <a class="el" href="zhecomplex_8hpp_source.html#l00003">3</a> of file <a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4ca40169ea0b7f28c6645010a87b9d34"></a><!-- doxytag: member="zhecomplex::zhecomplex" ref="a4ca40169ea0b7f28c6645010a87b9d34" args="(const long &amp;, const long &amp;, comple &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzhecomplex.html#a4ca40169ea0b7f28c6645010a87b9d34">zhecomplex::zhecomplex</a> </td>
          <td>(</td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>_i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>_j</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">comple &amp;&#160;</td>
          <td class="paramname"><em>_v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>constructor </p>

<p>Definition at line <a class="el" href="zhecomplex_8hpp_source.html#l00029">29</a> of file <a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>.</p>

<p>References <a class="el" href="zhecomplex_8hpp_source.html#l00009">i</a>, and <a class="el" href="zhecomplex_8hpp_source.html#l00009">j</a>.</p>
<div class="fragment"><pre class="fragment">  : comple( _i &lt; _j ? <a class="code" href="__zcovector-calc_8hpp.html#a773c28a661407104353f70c7a3ab88f2">std::conj</a>( _v ) : _v ), 
    <a class="code" href="classzhecomplex.html#a3288702b44397ee1ac989ee3bd2b5782">v</a>( _v )
{VERBOSE_REPORT;
  <a class="code" href="classzhecomplex.html#abb4ddc5cf55deaaef217c3a00da00510">i</a> = _i;
  <a class="code" href="classzhecomplex.html#a7f1ad8d01b5bddfaad9c49cc2baa2c91">j</a> = _j;
}
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a23d4a4f8e2b186cb75f05728cac14d7e"></a><!-- doxytag: member="zhecomplex::operator=" ref="a23d4a4f8e2b186cb75f05728cac14d7e" args="(const comple &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzhecomplex.html">zhecomplex</a> &amp; zhecomplex::operator= </td>
          <td>(</td>
          <td class="paramtype">const comple &amp;&#160;</td>
          <td class="paramname"><em>_v</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>operator= </p>

<p>Definition at line <a class="el" href="zhecomplex_8hpp_source.html#l00043">43</a> of file <a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>.</p>

<p>References <a class="el" href="__zcovector-calc_8hpp_source.html#l00015">conj()</a>, <a class="el" href="zhecomplex_8hpp_source.html#l00009">i</a>, <a class="el" href="zhecomplex_8hpp_source.html#l00009">j</a>, and <a class="el" href="zhecomplex_8hpp_source.html#l00010">v</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
<span class="preprocessor">#ifdef  CPPL_DEBUG</span>
<span class="preprocessor"></span>  <span class="keywordflow">if</span>( <a class="code" href="classzhecomplex.html#abb4ddc5cf55deaaef217c3a00da00510">i</a>==<a class="code" href="classzhecomplex.html#a7f1ad8d01b5bddfaad9c49cc2baa2c91">j</a> &amp;&amp; std::fabs(_v.imag()) &gt; DBL_MIN ){
    WARNING_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;Diagonal components of a hermitian matrix have to be real numbers.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input to the (&quot;</span> &lt;&lt; <a class="code" href="classzhecomplex.html#abb4ddc5cf55deaaef217c3a00da00510">i</a> &lt;&lt; <span class="stringliteral">&quot;,&quot;</span> &lt;&lt; <a class="code" href="classzhecomplex.html#a7f1ad8d01b5bddfaad9c49cc2baa2c91">j</a> &lt;&lt; <span class="stringliteral">&quot;) element was a complex number, &quot;</span> &lt;&lt; _v &lt;&lt; <span class="stringliteral">&quot;.&quot;</span> &lt;&lt; std::endl;
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classzhecomplex.html#a23d4a4f8e2b186cb75f05728cac14d7e">comple::operator=</a>( _v );
  <a class="code" href="classzhecomplex.html#a3288702b44397ee1ac989ee3bd2b5782">v</a> = ( <a class="code" href="classzhecomplex.html#abb4ddc5cf55deaaef217c3a00da00510">i</a> &lt; <a class="code" href="classzhecomplex.html#a7f1ad8d01b5bddfaad9c49cc2baa2c91">j</a> ? <a class="code" href="__zcovector-calc_8hpp.html#a773c28a661407104353f70c7a3ab88f2">std::conj</a>( _v ) : _v );
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="abb4ddc5cf55deaaef217c3a00da00510"></a><!-- doxytag: member="zhecomplex::i" ref="abb4ddc5cf55deaaef217c3a00da00510" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classzhecomplex.html#abb4ddc5cf55deaaef217c3a00da00510">zhecomplex::i</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="zhecomplex_8hpp_source.html#l00009">9</a> of file <a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>.</p>

<p>Referenced by <a class="el" href="zhecomplex_8hpp_source.html#l00043">operator=()</a>, and <a class="el" href="zhecomplex_8hpp_source.html#l00029">zhecomplex()</a>.</p>

</div>
</div>
<a class="anchor" id="a7f1ad8d01b5bddfaad9c49cc2baa2c91"></a><!-- doxytag: member="zhecomplex::j" ref="a7f1ad8d01b5bddfaad9c49cc2baa2c91" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classzhecomplex.html#a7f1ad8d01b5bddfaad9c49cc2baa2c91">zhecomplex::j</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="zhecomplex_8hpp_source.html#l00009">9</a> of file <a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>.</p>

<p>Referenced by <a class="el" href="zhecomplex_8hpp_source.html#l00043">operator=()</a>, and <a class="el" href="zhecomplex_8hpp_source.html#l00029">zhecomplex()</a>.</p>

</div>
</div>
<a class="anchor" id="a3288702b44397ee1ac989ee3bd2b5782"></a><!-- doxytag: member="zhecomplex::v" ref="a3288702b44397ee1ac989ee3bd2b5782" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">comple&amp; <a class="el" href="classzhecomplex.html#a3288702b44397ee1ac989ee3bd2b5782">zhecomplex::v</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="zhecomplex_8hpp_source.html#l00010">10</a> of file <a class="el" href="zhecomplex_8hpp_source.html">zhecomplex.hpp</a>.</p>

<p>Referenced by <a class="el" href="zhecomplex_8hpp_source.html#l00043">operator=()</a>.</p>

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