<!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: drovector 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> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">drovector Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="drovector" -->
<p>Real Double-precision Row Vector Class.  
 <a href="classdrovector.html#details">More...</a></p>

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

<p><a href="classdrovector-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="classdrovector.html#a4964ce154b9d9394f2a6133b63c32165">drovector</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a192f66f0db6a97ee99310f0bef87aad5">drovector</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#adba050ef687c686af9af235e67bf15cf">drovector</a> (const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a6957aa2dec472d7d43f9b12aaa02fea9">drovector</a> (const long &amp;, const long=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a810c5a1e7b3f0fc69d6aa664c6f10406">drovector</a> (const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a450f34daa3867f3dfb3e22302a9d3c0d">~drovector</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__zrovector.html">_zrovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a60718e978f17f8f59715fadf4957381c">to_zrovector</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a6203c88c0e3e3a8370aae547cd8e421d">operator()</a> (const long &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a21ae41dd091ae0aaa727f78daf0a1e12">operator()</a> (const long &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a58a49c9e635c62b9d15e23830c191fc7">set</a> (const long &amp;, const double &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a76ed5ef7974abb8e7d7195309b0448ac">write</a> (const char *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ab65a83db3881b9e2462b205222756b08">read</a> (const char *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a2f0195f560f955ed11e3da1054e47773">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a845494ed14746353f61c962b3a5b5793">zero</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a3a128610df209f6bfabaf09c0f2288c2">chsign</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a08ae02435f231b9a7fc84b33cea93a72">copy</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a9e3013f0c0f7c894fd68b2e19c98e8d4">shallow_copy</a> (const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a9c6cc306e659b1e4d4618740f1723492">alias</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#aea13894a7167ee64b3f02b47b0fe101b">unalias</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a3b2c5a9ed38d2e7d42cbafc635e45db2">resize</a> (const long &amp;, const long=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a801155718ed3b2e310cc80d444305f0d">stretch</a> (const long &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a84aa0475127454d68ba11636f21f5568">operator=</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ac80e0bb46e8181b2edd31cacdd970219">operator=</a> (const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a1ef5731eec5629ded1095b6b12dd51f4">operator+=</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ad59df66a66dcce4d699c1691e1aba983">operator+=</a> (const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a0036aef0b29911c28e9993bc64528324">operator-=</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#aeac9275c8e4f095a77f70849d3baee3a">operator-=</a> (const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ad7e80b3eb8673111c4eb6ded2dbf082c">operator*=</a> (const double &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a916e914a5f1462f41fe33a477c4d7263">operator/=</a> (const double &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="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e">l</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector size  <a href="#a08df95e527c85a13ed99c4a0fd2b303e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e">cap</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vector capacity  <a href="#ad21f3c0c6f1bf31d7b506c1658f5b14e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb">array</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">1D array to store vector data  <a href="#ac66f6cbcc4d7c345cce70528d0fef7bb"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a11bc5571601e325ec69bc8fac9358010">operator&lt;&lt;</a> (std::ostream &amp;, const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__dcovector.html">_dcovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ace2ccb713c0a9129796b3fcce73d43d9">t</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a54b3e21b8d13ad8836bef427a9fbb55e">nrm2</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a3c266c74709221380e4e82d3417061f6">idamax</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a6a4ee999f49de78dd5b71ad7b4abf144">damax</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#aee7dcf44bca0364968620f8821035d60">swap</a> (<a class="el" href="classdrovector.html">drovector</a> &amp;, <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a> (<a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#af3559dd7a88acef28d245feb49b65dcf">operator+</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a598cf2e9ca3e33212d7c98acfa95d7b8">operator-</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a435d52ea7d316e154a0e73397fafad57">operator+</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a2b3d8e0953796019798a1c527d10f8ff">operator+</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a50d7f5bccb6c161a888cc2688b8192ea">operator-</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#abc6c4bd788fc26b8362181440a9158f4">operator-</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a56f23b0ffd1bdc6c2cbb7dd31d0f5b70">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdcovector.html">dcovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#aa45b4396b11fa0aff480f46d68b27183">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__dcovector.html">_dcovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a8b97bf2fcb2df6f93d9ec2a58c0baa3e">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdgematrix.html">dgematrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#aeb95f1306b106ecf5d15f87bf1c3686c">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__dgematrix.html">_dgematrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a4ea44d95c38039f65bb790b1deaac718">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdsymatrix.html">dsymatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#afe27df0dd7437a7e67a91b1fc26d9d65">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__dsymatrix.html">_dsymatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a284f16c51ef8ca9963c9657c743ade7e">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdgbmatrix.html">dgbmatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a8f41f81d05d3b30c3899e2a5c5a2a9d5">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__dgbmatrix.html">_dgbmatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#aa7beb052699363543b8fd5fd2081939f">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdgsmatrix.html">dgsmatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a5f3c034b2a59eb73a194a3d9fbc2159c">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__dgsmatrix.html">_dgsmatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a7e1507a44bfc38c908bdc8e2425f3ca5">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdssmatrix.html">dssmatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a47e6878563cd19cca349ff488c216df4">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__dssmatrix.html">_dssmatrix</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a2769b770df3a9620a139256a61c85d1b">operator*</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const double &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a2e2542fd7a6d1559111eefbde7673d7c">operator/</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const double &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a5178428a4e6fb9f203e92c7c831409ce">operator%</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#ab38a38cdfeb3430d0861ce861bf7962c">operator%</a> (const <a class="el" href="classdrovector.html">drovector</a> &amp;, const <a class="el" href="class__drovector.html">_drovector</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class__drovector.html">_drovector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrovector.html#a615819add7198366f342e72759c14c4c">operator*</a> (const double &amp;, const <a class="el" href="classdrovector.html">drovector</a> &amp;)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Real Double-precision Row Vector Class. </p>

<p>Definition at line <a class="el" href="drovector_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector_8hpp_source.html">drovector.hpp</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4964ce154b9d9394f2a6133b63c32165"></a><!-- doxytag: member="drovector::drovector" ref="a4964ce154b9d9394f2a6133b63c32165" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html#a4964ce154b9d9394f2a6133b63c32165">drovector::drovector</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector constructor </p>

<p>Definition at line <a class="el" href="drovector-constructor_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;<span class="comment"></span>
<span class="comment">  //////// initialize ////////</span>
<span class="comment"></span>  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =0;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =0;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =NULL;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a192f66f0db6a97ee99310f0bef87aad5"></a><!-- doxytag: member="drovector::drovector" ref="a192f66f0db6a97ee99310f0bef87aad5" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html#a4964ce154b9d9394f2a6133b63c32165">drovector::drovector</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector copy constructor </p>

<p>Definition at line <a class="el" href="drovector-constructor_8hpp_source.html#l00013">13</a> of file <a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;<span class="comment"></span>
<span class="comment">  //////// initialize ////////</span>
<span class="comment"></span>  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =vec.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =<span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>];
  <span class="comment"></span>
<span class="comment">  //////// copy ////////</span>
<span class="comment"></span>  dcopy_(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1);
}
</pre></div>
</div>
</div>
<a class="anchor" id="adba050ef687c686af9af235e67bf15cf"></a><!-- doxytag: member="drovector::drovector" ref="adba050ef687c686af9af235e67bf15cf" args="(const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html#a4964ce154b9d9394f2a6133b63c32165">drovector::drovector</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector constructor to cast <a class="el" href="class__drovector.html" title="(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class">_drovector</a> </p>

<p>Definition at line <a class="el" href="drovector-constructor_8hpp_source.html#l00026">26</a> of file <a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__drovector_8hpp_source.html#l00011">_drovector::array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, <a class="el" href="__drovector_8hpp_source.html#l00010">_drovector::cap</a>, <a class="el" href="__drovector_8hpp_source.html#l00009">_drovector::l</a>, <a class="el" href="drovector_8hpp_source.html#l00009">l</a>, and <a class="el" href="__drovector-misc_8hpp_source.html#l00003">_drovector::nullify()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;<span class="comment"></span>
<span class="comment">  //////// initialize ////////</span>
<span class="comment"></span>  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =vec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a>;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =vec.<a class="code" href="class__drovector.html#a0418c22f6035746dc1afd427720edbd3" title="vector capacity">cap</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =vec.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>;
  
  vec.<a class="code" href="class__drovector.html#a7a8841a35e43ad6b64c90abce2f3044d">nullify</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="a6957aa2dec472d7d43f9b12aaa02fea9"></a><!-- doxytag: member="drovector::drovector" ref="a6957aa2dec472d7d43f9b12aaa02fea9" args="(const long &amp;, const long=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html#a4964ce154b9d9394f2a6133b63c32165">drovector::drovector</a> </td>
          <td>(</td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>_l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long&#160;</td>
          <td class="paramname"><em>margin</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector constructor with size specification </p>

<p>Definition at line <a class="el" href="drovector-constructor_8hpp_source.html#l00038">38</a> of file <a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</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>( _l&lt;0 || margin&lt;0 ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;Vector size must be positive integers. &quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; _l &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  <span class="comment"></span>
<span class="comment">  //////// initialize ////////</span>
<span class="comment"></span>  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =_l;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>+margin;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =<span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>];
}
</pre></div>
</div>
</div>
<a class="anchor" id="a810c5a1e7b3f0fc69d6aa664c6f10406"></a><!-- doxytag: member="drovector::drovector" ref="a810c5a1e7b3f0fc69d6aa664c6f10406" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html#a4964ce154b9d9394f2a6133b63c32165">drovector::drovector</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector constructor with filename </p>

<p>Definition at line <a class="el" href="drovector-constructor_8hpp_source.html#l00057">57</a> of file <a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, and <a class="el" href="drovector-io_8hpp_source.html#l00090">read()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =NULL;
  <a class="code" href="classdrovector.html#ab65a83db3881b9e2462b205222756b08">read</a>(filename);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a450f34daa3867f3dfb3e22302a9d3c0d"></a><!-- doxytag: member="drovector::~drovector" ref="a450f34daa3867f3dfb3e22302a9d3c0d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html#a450f34daa3867f3dfb3e22302a9d3c0d">drovector::~drovector</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector destructor </p>

<p>Definition at line <a class="el" href="drovector-constructor_8hpp_source.html#l00069">69</a> of file <a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
}
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a60718e978f17f8f59715fadf4957381c"></a><!-- doxytag: member="drovector::to_zrovector" ref="a60718e978f17f8f59715fadf4957381c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__zrovector.html">_zrovector</a> <a class="el" href="classdrovector.html#a60718e978f17f8f59715fadf4957381c">drovector::to_zrovector</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>cast to <a class="el" href="class__zrovector.html" title="(DO NOT USE) Smart-temporary Complex Double-precision Row Vector Class">_zrovector</a> </p>

<p>Definition at line <a class="el" href="drovector-cast_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-cast_8hpp_source.html">drovector-cast.hpp</a>.</p>

<p>References <a class="el" href="drovector-misc_8hpp_source.html#l00134">_</a>, <a class="el" href="zrovector_8hpp_source.html#l00010">zrovector::array</a>, <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classzrovector.html" title="Complex Double-precision Row Vector Class.">zrovector</a> newvec(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =comple(<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>], 0.);
  }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a6203c88c0e3e3a8370aae547cd8e421d"></a><!-- doxytag: member="drovector::operator()" ref="a6203c88c0e3e3a8370aae547cd8e421d" args="(const long &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double &amp; drovector::operator() </td>
          <td>(</td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>operator() for non-const object </p>

<p>Definition at line <a class="el" href="drovector-io_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>

<p>Referenced by <a class="el" href="drovector-io_8hpp_source.html#l00090">read()</a>, and <a class="el" href="drovector-io_8hpp_source.html#l00072">write()</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="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;0 || <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>&lt;=<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;The required component is out of the vector size.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>];
}
</pre></div>
</div>
</div>
<a class="anchor" id="a21ae41dd091ae0aaa727f78daf0a1e12"></a><!-- doxytag: member="drovector::operator()" ref="a21ae41dd091ae0aaa727f78daf0a1e12" args="(const long &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double drovector::operator() </td>
          <td>(</td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>operator() for const object </p>

<p>Definition at line <a class="el" href="drovector-io_8hpp_source.html#l00019">19</a> of file <a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</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="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;0 || <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>&lt;=<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;The required component is out of the vector size.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>];
}
</pre></div>
</div>
</div>
<a class="anchor" id="a58a49c9e635c62b9d15e23830c191fc7"></a><!-- doxytag: member="drovector::set" ref="a58a49c9e635c62b9d15e23830c191fc7" args="(const long &amp;, const double &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; <a class="el" href="classdrovector.html#a58a49c9e635c62b9d15e23830c191fc7">drovector::set</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 double &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>set value for const object </p>

<p>Definition at line <a class="el" href="drovector-io_8hpp_source.html#l00039">39</a> of file <a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</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="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;0 || <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>&lt;=<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;The required component is out of the vector size.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =v;
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a76ed5ef7974abb8e7d7195309b0448ac"></a><!-- doxytag: member="drovector::write" ref="a76ed5ef7974abb8e7d7195309b0448ac" args="(const char *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a76ed5ef7974abb8e7d7195309b0448ac">drovector::write</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="drovector-io_8hpp_source.html#l00072">72</a> of file <a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, <a class="el" href="drovector_8hpp_source.html#l00009">l</a>, and <a class="el" href="drovector-io_8hpp_source.html#l00003">operator()()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  std::ofstream ofs(filename, std::ios::trunc);
  ofs.setf(std::cout.flags());
  ofs.precision(std::cout.precision());
  ofs.width(std::cout.width());
  ofs.fill(std::cout.fill());
  
  ofs &lt;&lt; <span class="stringliteral">&quot;#drovector&quot;</span> &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; std::endl;
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    ofs &lt;&lt; <a class="code" href="classdrovector.html#a6203c88c0e3e3a8370aae547cd8e421d">operator()</a>(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>) &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;
  }
  ofs &lt;&lt; std::endl;
  
  ofs.close();
}
</pre></div>
</div>
</div>
<a class="anchor" id="ab65a83db3881b9e2462b205222756b08"></a><!-- doxytag: member="drovector::read" ref="ab65a83db3881b9e2462b205222756b08" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#ab65a83db3881b9e2462b205222756b08">drovector::read</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="drovector-io_8hpp_source.html#l00090">90</a> of file <a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, <a class="el" href="drovector_8hpp_source.html#l00009">l</a>, <a class="el" href="drovector-io_8hpp_source.html#l00003">operator()()</a>, and <a class="el" href="drovector-misc_8hpp_source.html#l00072">resize()</a>.</p>

<p>Referenced by <a class="el" href="drovector-constructor_8hpp_source.html#l00057">drovector()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  std::ifstream s( filename );
  <span class="keywordflow">if</span>(!s){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;The file \&quot;&quot;</span> &lt;&lt; filename &lt;&lt; <span class="stringliteral">&quot;\&quot; can not be opened.&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }

  std::string id;
  s &gt;&gt; id;
  <span class="keywordflow">if</span>( <span class="keywordtype">id</span> != <span class="stringliteral">&quot;drovector&quot;</span> &amp;&amp; <span class="keywordtype">id</span> != <span class="stringliteral">&quot;#drovector&quot;</span> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;The type name of the file \&quot;&quot;</span> &lt;&lt; filename &lt;&lt; <span class="stringliteral">&quot;\&quot; is not drovector.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Its type name was &quot;</span> &lt;&lt; <span class="keywordtype">id</span> &lt;&lt; <span class="stringliteral">&quot; .&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
  
  s &gt;&gt; <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>;
  <a class="code" href="classdrovector.html#a3b2c5a9ed38d2e7d42cbafc635e45db2">resize</a>(l);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++) { s &gt;&gt; <a class="code" href="classdrovector.html#a6203c88c0e3e3a8370aae547cd8e421d">operator()</a>(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>); }
  <span class="keywordflow">if</span>(s.eof()){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;There is something is wrong with the file \&quot;&quot;</span> &lt;&lt; filename &lt;&lt; <span class="stringliteral">&quot;\&quot;.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Most likely, there is a lack of data components, or a linefeed code or space code is missing at the end of the last line.&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
  
  s &gt;&gt; id;
  <span class="keywordflow">if</span>(!s.eof()){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;There is something is wrong with the file \&quot;&quot;</span> &lt;&lt; filename &lt;&lt; <span class="stringliteral">&quot;\&quot;.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Most likely, there are extra data components.&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
  
  s.close();
}
</pre></div>
</div>
</div>
<a class="anchor" id="a2f0195f560f955ed11e3da1054e47773"></a><!-- doxytag: member="drovector::clear" ref="a2f0195f560f955ed11e3da1054e47773" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a2f0195f560f955ed11e3da1054e47773">drovector::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>clear vector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =0;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =0;
  <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =NULL;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a845494ed14746353f61c962b3a5b5793"></a><!-- doxytag: member="drovector::zero" ref="a845494ed14746353f61c962b3a5b5793" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; <a class="el" href="classdrovector.html#a845494ed14746353f61c962b3a5b5793">drovector::zero</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>make vector into zero vector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00013">13</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>

<p>Referenced by <a class="el" href="dgematrix-lapack_8hpp_source.html#l00154">dgematrix::dgels()</a>, <a class="el" href="dgematrix-dgematrix_8hpp_source.html#l00138">operator%()</a>, <a class="el" href="__drovector-__dgsmatrix_8hpp_source.html#l00003">operator*()</a>, <a class="el" href="dssmatrix-misc_8hpp_source.html#l00162">dssmatrix::row()</a>, <a class="el" href="dgsmatrix-misc_8hpp_source.html#l00194">dgsmatrix::row()</a>, and <a class="el" href="zgematrix-lapack_8hpp_source.html#l00149">zgematrix::zgels()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =0.0; }
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a3a128610df209f6bfabaf09c0f2288c2"></a><!-- doxytag: member="drovector::chsign" ref="a3a128610df209f6bfabaf09c0f2288c2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a3a128610df209f6bfabaf09c0f2288c2">drovector::chsign</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>change sign(+/-) of the vector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00021">21</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =-<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
}
</pre></div>
</div>
</div>
<a class="anchor" id="a08ae02435f231b9a7fc84b33cea93a72"></a><!-- doxytag: member="drovector::copy" ref="a08ae02435f231b9a7fc84b33cea93a72" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a08ae02435f231b9a7fc84b33cea93a72">drovector::copy</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>make a deep copy of the drovector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00028">28</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>

<p>Referenced by <a class="el" href="drovector-drovector_8hpp_source.html#l00003">operator=()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =vec.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>;
  <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =<span class="keyword">new</span> <span class="keywordtype">double</span>[vec.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>];
  dcopy_(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a9e3013f0c0f7c894fd68b2e19c98e8d4"></a><!-- doxytag: member="drovector::shallow_copy" ref="a9e3013f0c0f7c894fd68b2e19c98e8d4" args="(const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a9e3013f0c0f7c894fd68b2e19c98e8d4">drovector::shallow_copy</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>make a shallow copy of the vector<br/>
 This function is not desinged to be used in project codes. </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00040">40</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__drovector_8hpp_source.html#l00011">_drovector::array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, <a class="el" href="__drovector_8hpp_source.html#l00010">_drovector::cap</a>, <a class="el" href="__drovector_8hpp_source.html#l00009">_drovector::l</a>, <a class="el" href="drovector_8hpp_source.html#l00009">l</a>, and <a class="el" href="__drovector-misc_8hpp_source.html#l00003">_drovector::nullify()</a>.</p>

<p>Referenced by <a class="el" href="drovector-__drovector_8hpp_source.html#l00003">operator=()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =vec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a>;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =vec.<a class="code" href="class__drovector.html#a0418c22f6035746dc1afd427720edbd3" title="vector capacity">cap</a>;
  <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =vec.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>;
  
  vec.<a class="code" href="class__drovector.html#a7a8841a35e43ad6b64c90abce2f3044d">nullify</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="a9c6cc306e659b1e4d4618740f1723492"></a><!-- doxytag: member="drovector::alias" ref="a9c6cc306e659b1e4d4618740f1723492" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a9c6cc306e659b1e4d4618740f1723492">drovector::alias</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>make an alias of the vector<br/>
 Be carefull to use this function not to cause double free. </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00053">53</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =vec.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>;
  <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="aea13894a7167ee64b3f02b47b0fe101b"></a><!-- doxytag: member="drovector::unalias" ref="aea13894a7167ee64b3f02b47b0fe101b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#aea13894a7167ee64b3f02b47b0fe101b">drovector::unalias</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>unalias the vector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00063">63</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =0;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =0;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =NULL;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a3b2c5a9ed38d2e7d42cbafc635e45db2"></a><!-- doxytag: member="drovector::resize" ref="a3b2c5a9ed38d2e7d42cbafc635e45db2" args="(const long &amp;, const long=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; <a class="el" href="classdrovector.html#a3b2c5a9ed38d2e7d42cbafc635e45db2">drovector::resize</a> </td>
          <td>(</td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>_l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const long&#160;</td>
          <td class="paramname"><em>margin</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>resize vector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00072">72</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>

<p>Referenced by <a class="el" href="dgematrix-lapack_8hpp_source.html#l00154">dgematrix::dgels()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00090">read()</a>, and <a class="el" href="zgematrix-lapack_8hpp_source.html#l00149">zgematrix::zgels()</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>( _l&lt;0 || margin&lt;0 ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;Vector size must be positive integers.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; _l &lt;&lt; <span class="stringliteral">&quot;, &quot;</span> &lt;&lt; margin &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =_l;
  <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>+margin;
  <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =<span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>];
  
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a801155718ed3b2e310cc80d444305f0d"></a><!-- doxytag: member="drovector::stretch" ref="a801155718ed3b2e310cc80d444305f0d" args="(const long &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#a801155718ed3b2e310cc80d444305f0d">drovector::stretch</a> </td>
          <td>(</td>
          <td class="paramtype">const long &amp;&#160;</td>
          <td class="paramname"><em>dl</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>stretch or shrink vector </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00093">93</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="drovector_8hpp_source.html#l00010">cap</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</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="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>+dl&lt;0 ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;Vector size must be positive integers.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; dl &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  <span class="comment"></span>
<span class="comment">  //////// zero ////////</span>
<span class="comment"></span>  <span class="keywordflow">if</span>(dl==0){ <span class="keywordflow">return</span>; }
  <span class="comment"></span>
<span class="comment">  //////// non-zero ////////</span>
<span class="comment"></span>  <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> +=dl;

  <span class="keywordflow">if</span>(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>&gt;<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>){
    <span class="keywordflow">while</span>(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>&gt;<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>){
      <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>++;
      <a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>*=2;
    }
    <span class="keywordtype">double</span>* newArray(<span class="keyword">new</span> <span class="keywordtype">double</span>[<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>]);
    dcopy_(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>-dl, <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, newArray, 1);
    <span class="keyword">delete</span> [] <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
    <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =newArray;
  }
}
</pre></div>
</div>
</div>
<a class="anchor" id="a84aa0475127454d68ba11636f21f5568"></a><!-- doxytag: member="drovector::operator=" ref="a84aa0475127454d68ba11636f21f5568" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector=drovector operator </p>

<p>Definition at line <a class="el" href="drovector-drovector_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, and <a class="el" href="drovector-misc_8hpp_source.html#l00028">copy()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">if</span>(<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>!=vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>){ <span class="comment">// if it is NOT self substitution</span>
    <a class="code" href="classdrovector.html#a08ae02435f231b9a7fc84b33cea93a72">copy</a>(vec);
  }
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="ac80e0bb46e8181b2edd31cacdd970219"></a><!-- doxytag: member="drovector::operator=" ref="ac80e0bb46e8181b2edd31cacdd970219" args="(const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector=<a class="el" href="class__drovector.html" title="(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class">_drovector</a> operator </p>

<p>Definition at line <a class="el" href="drovector-__drovector_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</a>.</p>

<p>References <a class="el" href="drovector-misc_8hpp_source.html#l00040">shallow_copy()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html#a9e3013f0c0f7c894fd68b2e19c98e8d4">shallow_copy</a>(vec);
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a1ef5731eec5629ded1095b6b12dd51f4"></a><!-- doxytag: member="drovector::operator+=" ref="a1ef5731eec5629ded1095b6b12dd51f4" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector+=drovector operator </p>

<p>Definition at line <a class="el" href="drovector-drovector_8hpp_source.html#l00017">17</a> of file <a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</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="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a sumation.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) += (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]+=vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="ad59df66a66dcce4d699c1691e1aba983"></a><!-- doxytag: member="drovector::operator+=" ref="ad59df66a66dcce4d699c1691e1aba983" args="(const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector+=<a class="el" href="class__drovector.html" title="(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class">_drovector</a> operator </p>

<p>Definition at line <a class="el" href="drovector-__drovector_8hpp_source.html#l00015">15</a> of file <a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__drovector_8hpp_source.html#l00011">_drovector::array</a>, <a class="el" href="__drovector-misc_8hpp_source.html#l00012">_drovector::destroy()</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, <a class="el" href="drovector_8hpp_source.html#l00009">l</a>, and <a class="el" href="__drovector_8hpp_source.html#l00009">_drovector::l</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="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a sumation.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) += (&quot;</span> &lt;&lt; vec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]+=vec.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  
  vec.<a class="code" href="class__drovector.html#ab1494bd6c8c54e5a9cda2280e03a8c26">destroy</a>();
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a0036aef0b29911c28e9993bc64528324"></a><!-- doxytag: member="drovector::operator&#45;=" ref="a0036aef0b29911c28e9993bc64528324" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector operator-= </p>

<p>Definition at line <a class="el" href="drovector-drovector_8hpp_source.html#l00035">35</a> of file <a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</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="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a subtraction.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) -= (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]-=vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="aeac9275c8e4f095a77f70849d3baee3a"></a><!-- doxytag: member="drovector::operator&#45;=" ref="aeac9275c8e4f095a77f70849d3baee3a" args="(const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector operator-= </p>

<p>Definition at line <a class="el" href="drovector-__drovector_8hpp_source.html#l00034">34</a> of file <a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, <a class="el" href="__drovector_8hpp_source.html#l00011">_drovector::array</a>, <a class="el" href="__drovector-misc_8hpp_source.html#l00012">_drovector::destroy()</a>, <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>, <a class="el" href="drovector_8hpp_source.html#l00009">l</a>, and <a class="el" href="__drovector_8hpp_source.html#l00009">_drovector::l</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="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> ){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a subtraction.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; <a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) -= (&quot;</span> &lt;&lt; vec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]-=vec.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  
  vec.<a class="code" href="class__drovector.html#ab1494bd6c8c54e5a9cda2280e03a8c26">destroy</a>();
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="ad7e80b3eb8673111c4eb6ded2dbf082c"></a><!-- doxytag: member="drovector::operator*=" ref="ad7e80b3eb8673111c4eb6ded2dbf082c" args="(const double &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator*= </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>d</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*=double operator </p>

<p>Definition at line <a class="el" href="drovector-double_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-double_8hpp_source.html">drovector-double.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  dscal_(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, d, <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1);
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a916e914a5f1462f41fe33a477c4d7263"></a><!-- doxytag: member="drovector::operator/=" ref="a916e914a5f1462f41fe33a477c4d7263" args="(const double &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector.html">drovector</a> &amp; drovector::operator/= </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>d</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector/=double operator </p>

<p>Definition at line <a class="el" href="drovector-double_8hpp_source.html#l00011">11</a> of file <a class="el" href="drovector-double_8hpp_source.html">drovector-double.hpp</a>.</p>

<p>References <a class="el" href="drovector_8hpp_source.html#l00011">array</a>, and <a class="el" href="drovector_8hpp_source.html#l00009">l</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  dscal_(<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, 1./d, <a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1);
  <span class="keywordflow">return</span> *<span class="keyword">this</span>;
}
</pre></div>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a11bc5571601e325ec69bc8fac9358010"></a><!-- doxytag: member="drovector::operator&lt;&lt;" ref="a11bc5571601e325ec69bc8fac9358010" args="(std::ostream &amp;, const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="drovector-io_8hpp_source.html#l00059">59</a> of file <a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ s &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  s &lt;&lt; std::endl;
  
  <span class="keywordflow">return</span> s;
}
</pre></div>
</div>
</div>
<a class="anchor" id="ace2ccb713c0a9129796b3fcce73d43d9"></a><!-- doxytag: member="drovector::t" ref="ace2ccb713c0a9129796b3fcce73d43d9" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__dcovector.html">_dcovector</a> <a class="el" href="classdrovector.html#ace2ccb713c0a9129796b3fcce73d43d9">t</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>rovec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return a transposed column vector </p>

<p>Definition at line <a class="el" href="drovector-calc_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-calc_8hpp_source.html">drovector-calc.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdcovector.html" title="Real Double-precision Column Vector Class.">dcovector</a> covec(rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  dcopy_(rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, rovec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, covec.array, 1);
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(covec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a54b3e21b8d13ad8836bef427a9fbb55e"></a><!-- doxytag: member="drovector::nrm2" ref="a54b3e21b8d13ad8836bef427a9fbb55e" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classdrovector.html#a54b3e21b8d13ad8836bef427a9fbb55e">nrm2</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return its Euclidean norm </p>

<p>Definition at line <a class="el" href="drovector-calc_8hpp_source.html#l00013">13</a> of file <a class="el" href="drovector-calc_8hpp_source.html">drovector-calc.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">return</span> dnrm2_(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a3c266c74709221380e4e82d3417061f6"></a><!-- doxytag: member="drovector::idamax" ref="a3c266c74709221380e4e82d3417061f6" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classdrovector.html#a3c266c74709221380e4e82d3417061f6">idamax</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return the index of element having the largest absolute value in 0-based numbering system </p>

<p>Definition at line <a class="el" href="drovector-calc_8hpp_source.html#l00021">21</a> of file <a class="el" href="drovector-calc_8hpp_source.html">drovector-calc.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">return</span> idamax_(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1) -1;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a6a4ee999f49de78dd5b71ad7b4abf144"></a><!-- doxytag: member="drovector::damax" ref="a6a4ee999f49de78dd5b71ad7b4abf144" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classdrovector.html#a6a4ee999f49de78dd5b71ad7b4abf144">damax</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>return its largest absolute value </p>

<p>Definition at line <a class="el" href="drovector-calc_8hpp_source.html#l00028">28</a> of file <a class="el" href="drovector-calc_8hpp_source.html">drovector-calc.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">return</span> vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[idamax_(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1) -1];
}
</pre></div>
</div>
</div>
<a class="anchor" id="aee7dcf44bca0364968620f8821035d60"></a><!-- doxytag: member="drovector::swap" ref="aee7dcf44bca0364968620f8821035d60" args="(drovector &amp;, drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classdrovector.html#aee7dcf44bca0364968620f8821035d60">swap</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>swap two vectors </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00124">124</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordtype">long</span> u_cap(u.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>), u_l(u.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordtype">double</span>* u_array(u.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>);
  u.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>=v.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; u.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>=v.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>; u.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>=v.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  v.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>=u_l; v.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>=u_cap; v.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>=u_array;
}
</pre></div>
</div>
</div>
<a class="anchor" id="adeeee2ee73d7209619d89f7d62c9b90c"></a><!-- doxytag: member="drovector::_" ref="adeeee2ee73d7209619d89f7d62c9b90c" args="(drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> <a class="el" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>convert user object to smart-temporary object </p>

<p>Definition at line <a class="el" href="drovector-misc_8hpp_source.html#l00134">134</a> of file <a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.hpp</a>.</p>

<p>Referenced by <a class="el" href="drovector-cast_8hpp_source.html#l00003">to_zrovector()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="class__drovector.html" title="(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class">_drovector</a> newvec;
  <span class="comment"></span>
<span class="comment">  //////// shallow copy ////////</span>
<span class="comment"></span>  newvec.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> =vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>;
  newvec.<a class="code" href="class__drovector.html#a0418c22f6035746dc1afd427720edbd3" title="vector capacity">cap</a> =vec.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a>;
  newvec.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a> =vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>;
  <span class="comment"></span>
<span class="comment">  //////// nullify ////////</span>
<span class="comment"></span>  vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> =0;
  vec.<a class="code" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e" title="vector capacity">cap</a> =0;
  vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a> =NULL;
  
  <span class="keywordflow">return</span> newvec;
}
</pre></div>
</div>
</div>
<a class="anchor" id="af3559dd7a88acef28d245feb49b65dcf"></a><!-- doxytag: member="drovector::operator+" ref="af3559dd7a88acef28d245feb49b65dcf" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classdrovector.html">drovector</a>&amp; operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>+drovector operator </p>

<p>Definition at line <a class="el" href="drovector-unary_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-unary_8hpp_source.html">drovector-unary.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <span class="keywordflow">return</span> vec;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a598cf2e9ca3e33212d7c98acfa95d7b8"></a><!-- doxytag: member="drovector::operator&#45;" ref="a598cf2e9ca3e33212d7c98acfa95d7b8" args="(const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em></td><td>)</td>
          <td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>-drovector operator </p>

<p>Definition at line <a class="el" href="drovector-unary_8hpp_source.html#l00010">10</a> of file <a class="el" href="drovector-unary_8hpp_source.html">drovector-unary.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;newvec.l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]=-vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a435d52ea7d316e154a0e73397fafad57"></a><!-- doxytag: member="drovector::operator+" ref="a435d52ea7d316e154a0e73397fafad57" args="(const drovector &amp;, const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector+drovector operator </p>

<p>Definition at line <a class="el" href="drovector-drovector_8hpp_source.html#l00057">57</a> of file <a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</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>(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vecB.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a sumation.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) + (&quot;</span> &lt;&lt; vecB.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
  
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;newvec.l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =vecA.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]+vecB.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>];
  }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a2b3d8e0953796019798a1c527d10f8ff"></a><!-- doxytag: member="drovector::operator+" ref="a2b3d8e0953796019798a1c527d10f8ff" args="(const drovector &amp;, const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector+drovector operator </p>

<p>Definition at line <a class="el" href="drovector-__drovector_8hpp_source.html#l00057">57</a> of file <a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</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>(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vecB.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a sumation.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) + (&quot;</span> &lt;&lt; vecB.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
  
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ vecB.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]+=vecA.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }
  
  <span class="keywordflow">return</span> vecB;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a50d7f5bccb6c161a888cc2688b8192ea"></a><!-- doxytag: member="drovector::operator&#45;" ref="a50d7f5bccb6c161a888cc2688b8192ea" args="(const drovector &amp;, const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector-drovector operator </p>

<p>Definition at line <a class="el" href="drovector-drovector_8hpp_source.html#l00079">79</a> of file <a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</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>(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vecB.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a subtraction.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) - (&quot;</span> &lt;&lt; vecB.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;newvec.l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =vecA.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]-vecB.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>];
  }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="abc6c4bd788fc26b8362181440a9158f4"></a><!-- doxytag: member="drovector::operator&#45;" ref="abc6c4bd788fc26b8362181440a9158f4" args="(const drovector &amp;, const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector-drovector operator </p>

<p>Definition at line <a class="el" href="drovector-__drovector_8hpp_source.html#l00076">76</a> of file <a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</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>(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vecB.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a subtraction.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) - (&quot;</span> &lt;&lt; vecB.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    vecB.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =vecA.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]-vecB.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>];
  }
  
  <span class="keywordflow">return</span> vecB;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a56f23b0ffd1bdc6c2cbb7dd31d0f5b70"></a><!-- doxytag: member="drovector::operator*" ref="a56f23b0ffd1bdc6c2cbb7dd31d0f5b70" args="(const drovector &amp;, const dcovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>rovec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdcovector.html">dcovector</a> &amp;&#160;</td>
          <td class="paramname"><em>covec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*dcovector operator </p>

<p>Definition at line <a class="el" href="drovector-dcovector_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-dcovector_8hpp_source.html">drovector-dcovector.hpp</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>(rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=covec.<a class="code" href="classdcovector.html#a08e64e5ecb5121100787d0f5d48f0af4" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; covec.<a class="code" href="classdcovector.html#a08e64e5ecb5121100787d0f5d48f0af4" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordtype">double</span> val( ddot_( rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, rovec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, covec.<a class="code" href="classdcovector.html#a9b188bf160d8f7e24ea1d41deaceaf6d" title="1D array to store vector data">array</a>, 1 ) );
  
  <span class="keywordflow">return</span> val;
}
</pre></div>
</div>
</div>
<a class="anchor" id="aa45b4396b11fa0aff480f46d68b27183"></a><!-- doxytag: member="drovector::operator*" ref="aa45b4396b11fa0aff480f46d68b27183" args="(const drovector &amp;, const _dcovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>rovec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__dcovector.html">_dcovector</a> &amp;&#160;</td>
          <td class="paramname"><em>covec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*_dcovector operator </p>

<p>Definition at line <a class="el" href="drovector-__dcovector_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__dcovector_8hpp_source.html">drovector-_dcovector.hpp</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>(rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=covec.<a class="code" href="class__dcovector.html#a2db3a577da8bc07533cf2da09fddaa58" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; covec.<a class="code" href="class__dcovector.html#a2db3a577da8bc07533cf2da09fddaa58" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordtype">double</span> val( ddot_( rovec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, rovec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, covec.<a class="code" href="class__dcovector.html#a27693f26cc6e9e25c349c7fbf7cc2b67" title="1D array to store vector data">array</a>, 1 ) );
  
  covec.<a class="code" href="class__dcovector.html#a3e16f52298eac6c97958a9cbc6388bc4">destroy</a>();
  <span class="keywordflow">return</span> val;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a8b97bf2fcb2df6f93d9ec2a58c0baa3e"></a><!-- doxytag: member="drovector::operator*" ref="a8b97bf2fcb2df6f93d9ec2a58c0baa3e" args="(const drovector &amp;, const dgematrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdgematrix.html">dgematrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*dgematrix operator </p>

<p>Definition at line <a class="el" href="drovector-dgematrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-dgematrix_8hpp_source.html">drovector-dgematrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="classdgematrix.html#a3852aa1d0b876a74c1070e982cf388a2" title="matrix row size">m</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="classdgematrix.html#a3852aa1d0b876a74c1070e982cf388a2" title="matrix row size">m</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="classdgematrix.html#a60d26e3a499a235310e59a0aebbe0d0a" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="classdgematrix.html#a60d26e3a499a235310e59a0aebbe0d0a" title="matrix column size">n</a>);
  dgemv_( <span class="charliteral">&#39;T&#39;</span>, mat.<a class="code" href="classdgematrix.html#a3852aa1d0b876a74c1070e982cf388a2" title="matrix row size">m</a>, mat.<a class="code" href="classdgematrix.html#a60d26e3a499a235310e59a0aebbe0d0a" title="matrix column size">n</a>, 1.0, mat.<a class="code" href="classdgematrix.html#a006ce8c2f9add380bcb2816fdb13aa01" title="1D array to store matrix data">array</a>, mat.<a class="code" href="classdgematrix.html#a3852aa1d0b876a74c1070e982cf388a2" title="matrix row size">m</a>,
          vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, 0.0, newvec.array, 1 );
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="aeb95f1306b106ecf5d15f87bf1c3686c"></a><!-- doxytag: member="drovector::operator*" ref="aeb95f1306b106ecf5d15f87bf1c3686c" args="(const drovector &amp;, const _dgematrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__dgematrix.html">_dgematrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*_dgematrix operator </p>

<p>Definition at line <a class="el" href="drovector-__dgematrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__dgematrix_8hpp_source.html">drovector-_dgematrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="class__dgematrix.html#a4c07ace0e1899332aa2d620af184dadf" title="matrix row size">m</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="class__dgematrix.html#a4c07ace0e1899332aa2d620af184dadf" title="matrix row size">m</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="class__dgematrix.html#ad46b02985eb9537b1bd65937d5b052de" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="class__dgematrix.html#ad46b02985eb9537b1bd65937d5b052de" title="matrix column size">n</a>);
  dgemv_( <span class="charliteral">&#39;T&#39;</span>, mat.<a class="code" href="class__dgematrix.html#a4c07ace0e1899332aa2d620af184dadf" title="matrix row size">m</a>, mat.<a class="code" href="class__dgematrix.html#ad46b02985eb9537b1bd65937d5b052de" title="matrix column size">n</a>, 1.0, mat.<a class="code" href="class__dgematrix.html#ad01c168fc4997d06e7c996ba36b12ff6" title="1D array to store matrix data">array</a>, mat.<a class="code" href="class__dgematrix.html#a4c07ace0e1899332aa2d620af184dadf" title="matrix row size">m</a>,
          vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, 0.0, newvec.array, 1 );
  
  mat.<a class="code" href="class__dgematrix.html#ac6d270d6c2d1d73afdfb2029eca920d9">destroy</a>();
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a4ea44d95c38039f65bb790b1deaac718"></a><!-- doxytag: member="drovector::operator*" ref="a4ea44d95c38039f65bb790b1deaac718" args="(const drovector &amp;, const dsymatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdsymatrix.html">dsymatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*dsymatrix operator </p>

<p>Definition at line <a class="el" href="drovector-dsymatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-dsymatrix_8hpp_source.html">drovector-dsymatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="classdsymatrix.html#a4a2ca7ec3f2b7bd62139777fbb6ad1a9" title="matrix column size">n</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="classdsymatrix.html#a4a2ca7ec3f2b7bd62139777fbb6ad1a9" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="classdsymatrix.html#a4a2ca7ec3f2b7bd62139777fbb6ad1a9" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="classdsymatrix.html#a4a2ca7ec3f2b7bd62139777fbb6ad1a9" title="matrix column size">n</a>);
  dsymv_( <span class="charliteral">&#39;l&#39;</span>, mat.<a class="code" href="classdsymatrix.html#a4a2ca7ec3f2b7bd62139777fbb6ad1a9" title="matrix column size">n</a>, 1.0, mat.<a class="code" href="classdsymatrix.html#a7efa7c974733dc3111167a9ebb217e1f" title="1D array to store matrix data">array</a>, mat.<a class="code" href="classdsymatrix.html#a4a2ca7ec3f2b7bd62139777fbb6ad1a9" title="matrix column size">n</a>, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, 0.0, newvec.array, 1 );
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="afe27df0dd7437a7e67a91b1fc26d9d65"></a><!-- doxytag: member="drovector::operator*" ref="afe27df0dd7437a7e67a91b1fc26d9d65" args="(const drovector &amp;, const _dsymatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__dsymatrix.html">_dsymatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*_dsymatrix operator </p>

<p>Definition at line <a class="el" href="drovector-__dsymatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__dsymatrix_8hpp_source.html">drovector-_dsymatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="class__dsymatrix.html#a8b56cdf252a15da3e211b558abd46c1b" title="matrix column size">n</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="class__dsymatrix.html#a8b56cdf252a15da3e211b558abd46c1b" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="class__dsymatrix.html#a8b56cdf252a15da3e211b558abd46c1b" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="class__dsymatrix.html#a8b56cdf252a15da3e211b558abd46c1b" title="matrix column size">n</a>);
  dsymv_( <span class="charliteral">&#39;l&#39;</span>, mat.<a class="code" href="class__dsymatrix.html#a8b56cdf252a15da3e211b558abd46c1b" title="matrix column size">n</a>, 1.0, mat.<a class="code" href="class__dsymatrix.html#a656ab414ee51638aedc9bf4960fe428a" title="1D array to store matrix data">array</a>, mat.<a class="code" href="class__dsymatrix.html#a8b56cdf252a15da3e211b558abd46c1b" title="matrix column size">n</a>,
          vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, 0.0, newvec.array, 1 );
  
  mat.<a class="code" href="class__dsymatrix.html#a09e5b4ca8579bef58e01e80c22e799b1">destroy</a>();
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a284f16c51ef8ca9963c9657c743ade7e"></a><!-- doxytag: member="drovector::operator*" ref="a284f16c51ef8ca9963c9657c743ade7e" args="(const drovector &amp;, const dgbmatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdgbmatrix.html">dgbmatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*dgbmatrix operator </p>

<p>Definition at line <a class="el" href="drovector-dgbmatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-dgbmatrix_8hpp_source.html">drovector-dgbmatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="classdgbmatrix.html#af8a3e6bc4557b151f0049b8224f54580" title="matrix row size">m</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="classdgbmatrix.html#af8a3e6bc4557b151f0049b8224f54580" title="matrix row size">m</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="classdgbmatrix.html#a5b6fe4d1cfa71161b09ecf0b59befd0e" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="classdgbmatrix.html#a5b6fe4d1cfa71161b09ecf0b59befd0e" title="matrix column size">n</a>);
  dgbmv_( <span class="charliteral">&#39;T&#39;</span>, mat.<a class="code" href="classdgbmatrix.html#af8a3e6bc4557b151f0049b8224f54580" title="matrix row size">m</a>, mat.<a class="code" href="classdgbmatrix.html#a5b6fe4d1cfa71161b09ecf0b59befd0e" title="matrix column size">n</a>, mat.<a class="code" href="classdgbmatrix.html#aeeb3e79431677905a4ece19c6616edd4" title="lower band width">kl</a>, mat.<a class="code" href="classdgbmatrix.html#a0b4d519e95ddf780bf1151a42018d646" title="upper band width">ku</a>, 1.0,
          mat.<a class="code" href="classdgbmatrix.html#a3a208131351663f0aa4a95c87851d23c" title="1D array to store matrix data">array</a>, mat.<a class="code" href="classdgbmatrix.html#aeeb3e79431677905a4ece19c6616edd4" title="lower band width">kl</a>+mat.<a class="code" href="classdgbmatrix.html#a0b4d519e95ddf780bf1151a42018d646" title="upper band width">ku</a>+1, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, 0.0, newvec.array, 1 );
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a8f41f81d05d3b30c3899e2a5c5a2a9d5"></a><!-- doxytag: member="drovector::operator*" ref="a8f41f81d05d3b30c3899e2a5c5a2a9d5" args="(const drovector &amp;, const _dgbmatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__dgbmatrix.html">_dgbmatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*_dgbmatrix operator </p>

<p>Definition at line <a class="el" href="drovector-__dgbmatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__dgbmatrix_8hpp_source.html">drovector-_dgbmatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="class__dgbmatrix.html#a587a07ecbbfc6bbdb0e05574ea6b088a" title="matrix row size">m</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="class__dgbmatrix.html#a587a07ecbbfc6bbdb0e05574ea6b088a" title="matrix row size">m</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="class__dgbmatrix.html#a95aebc7e2d4ea66b1b7a08e981df6971" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="class__dgbmatrix.html#a95aebc7e2d4ea66b1b7a08e981df6971" title="matrix column size">n</a>);
  dgbmv_( <span class="charliteral">&#39;T&#39;</span>, mat.<a class="code" href="class__dgbmatrix.html#a587a07ecbbfc6bbdb0e05574ea6b088a" title="matrix row size">m</a>, mat.<a class="code" href="class__dgbmatrix.html#a95aebc7e2d4ea66b1b7a08e981df6971" title="matrix column size">n</a>, mat.<a class="code" href="class__dgbmatrix.html#aeea4fdf76630ca1b51f93c5bed64662c" title="lower band width">kl</a>, mat.<a class="code" href="class__dgbmatrix.html#a116dadc8ed5246ee0b4cd0a9fffc53ea" title="upper band width">ku</a>, 1.0,
          mat.<a class="code" href="class__dgbmatrix.html#a3d7680e0014aa00249f76a86e13de9eb" title="1D array to store matrix data">array</a>, mat.<a class="code" href="class__dgbmatrix.html#aeea4fdf76630ca1b51f93c5bed64662c" title="lower band width">kl</a>+mat.<a class="code" href="class__dgbmatrix.html#a116dadc8ed5246ee0b4cd0a9fffc53ea" title="upper band width">ku</a>+1, vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, 0.0, newvec.array, 1 );
  
  mat.<a class="code" href="class__dgbmatrix.html#a170fdd995797f5d394863105e658df9e">destroy</a>();
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="aa7beb052699363543b8fd5fd2081939f"></a><!-- doxytag: member="drovector::operator*" ref="aa7beb052699363543b8fd5fd2081939f" args="(const drovector &amp;, const dgsmatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdgsmatrix.html">dgsmatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*dgsmatrix operator </p>

<p>Definition at line <a class="el" href="drovector-dgsmatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-dgsmatrix_8hpp_source.html">drovector-dgsmatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="classdgsmatrix.html#ae2d6c9f9657d44171a4bfd56276277cb" title="matrix row size">m</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="classdgsmatrix.html#ae2d6c9f9657d44171a4bfd56276277cb" title="matrix row size">m</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="classdgsmatrix.html#acefae40b42444c17eebbc23ccee73ae0" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="classdgsmatrix.html#acefae40b42444c17eebbc23ccee73ae0" title="matrix column size">n</a>);
  newvec.zero();
  <span class="keywordflow">for</span>(std::vector&lt;dcomponent&gt;::const_iterator it=mat.<a class="code" href="classdgsmatrix.html#a9c4f940eeedf7a7869cf03ae4a3558c6" title="matrix data">data</a>.begin(); it!=mat.<a class="code" href="classdgsmatrix.html#a9c4f940eeedf7a7869cf03ae4a3558c6" title="matrix data">data</a>.end(); it++){
    newvec(it-&gt;j) += vec(it-&gt;i)*it-&gt;v;
  }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a5f3c034b2a59eb73a194a3d9fbc2159c"></a><!-- doxytag: member="drovector::operator*" ref="a5f3c034b2a59eb73a194a3d9fbc2159c" args="(const drovector &amp;, const _dgsmatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__dgsmatrix.html">_dgsmatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*_dgsmatrix operator </p>

<p>Definition at line <a class="el" href="drovector-__dgsmatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__dgsmatrix_8hpp_source.html">drovector-_dgsmatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="class__dgsmatrix.html#ac45fcfd8d9cddb1fae5b66cd9b7ac98a" title="matrix row size">m</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="class__dgsmatrix.html#ac45fcfd8d9cddb1fae5b66cd9b7ac98a" title="matrix row size">m</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="class__dgsmatrix.html#a8457e7af3a1e2ff7d8c3238260d59936" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="class__dgsmatrix.html#a8457e7af3a1e2ff7d8c3238260d59936" title="matrix column size">n</a>);
  newvec.zero();
  <span class="keywordflow">for</span>(std::vector&lt;dcomponent&gt;::const_iterator it=mat.<a class="code" href="class__dgsmatrix.html#a65ae5bc0001de27f9fe1fb13870b4a30" title="matrix data">data</a>.begin(); it!=mat.<a class="code" href="class__dgsmatrix.html#a65ae5bc0001de27f9fe1fb13870b4a30" title="matrix data">data</a>.end(); it++){
    newvec(it-&gt;j) += vec(it-&gt;i)*it-&gt;v;
  }
  
  mat.<a class="code" href="class__dgsmatrix.html#aa2851712fa4f99d8d608815ef274a362">destroy</a>();
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a7e1507a44bfc38c908bdc8e2425f3ca5"></a><!-- doxytag: member="drovector::operator*" ref="a7e1507a44bfc38c908bdc8e2425f3ca5" args="(const drovector &amp;, const dssmatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdssmatrix.html">dssmatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*dssmatrix operator </p>

<p>Definition at line <a class="el" href="drovector-dssmatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-dssmatrix_8hpp_source.html">drovector-dssmatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="classdssmatrix.html#a94fac8a3f08704f5e0001473fa9a937a" title="matrix column size">n</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="classdssmatrix.html#a94fac8a3f08704f5e0001473fa9a937a" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="classdssmatrix.html#a94fac8a3f08704f5e0001473fa9a937a" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="classdssmatrix.html#a94fac8a3f08704f5e0001473fa9a937a" title="matrix column size">n</a>);
  newvec.zero();  
  <span class="keywordflow">for</span>(std::vector&lt;dcomponent&gt;::const_iterator it=mat.<a class="code" href="classdssmatrix.html#a258714120e316e12a03ee60dc0151888" title="matrix data">data</a>.begin(); it!=mat.<a class="code" href="classdssmatrix.html#a258714120e316e12a03ee60dc0151888" title="matrix data">data</a>.end(); it++){
    newvec(it-&gt;j) += vec(it-&gt;i)*it-&gt;v;
    <span class="keywordflow">if</span>(it-&gt;i!=it-&gt;j){
      newvec(it-&gt;i) +=vec(it-&gt;j)*it-&gt;v;
    }
  }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a47e6878563cd19cca349ff488c216df4"></a><!-- doxytag: member="drovector::operator*" ref="a47e6878563cd19cca349ff488c216df4" args="(const drovector &amp;, const _dssmatrix &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__dssmatrix.html">_dssmatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*_dssmatrix operator </p>

<p>Definition at line <a class="el" href="drovector-__dssmatrix_8hpp_source.html#l00003">3</a> of file <a class="el" href="drovector-__dssmatrix_8hpp_source.html">drovector-_dssmatrix.hpp</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>(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=mat.<a class="code" href="class__dssmatrix.html#ac1de480934f45511a98ddc610868803f" title="matrix column size">n</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These vector and matrix can not make a product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) * (&quot;</span> &lt;&lt; mat.<a class="code" href="class__dssmatrix.html#ac1de480934f45511a98ddc610868803f" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;x&quot;</span> &lt;&lt; mat.<a class="code" href="class__dssmatrix.html#ac1de480934f45511a98ddc610868803f" title="matrix column size">n</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(mat.<a class="code" href="class__dssmatrix.html#ac1de480934f45511a98ddc610868803f" title="matrix column size">n</a>);
  newvec.zero();
  <span class="keywordflow">for</span>(std::vector&lt;dcomponent&gt;::const_iterator it=mat.<a class="code" href="class__dssmatrix.html#a0c4e6868fac505c8a01b4d26558ec009" title="matrix data">data</a>.begin(); it!=mat.<a class="code" href="class__dssmatrix.html#a0c4e6868fac505c8a01b4d26558ec009" title="matrix data">data</a>.end(); it++){
    newvec(it-&gt;j) += vec(it-&gt;i)*it-&gt;v;
    <span class="keywordflow">if</span>(it-&gt;i!=it-&gt;j){
      newvec(it-&gt;i) += vec(it-&gt;j)*it-&gt;v;
    }
  }
  
  mat.<a class="code" href="class__dssmatrix.html#af5a81a3aa4b8d1fd2f66afbfbc97077e">destroy</a>();
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a2769b770df3a9620a139256a61c85d1b"></a><!-- doxytag: member="drovector::operator*" ref="a2769b770df3a9620a139256a61c85d1b" args="(const drovector &amp;, const double &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector*double operator </p>

<p>Definition at line <a class="el" href="drovector-double_8hpp_source.html#l00023">23</a> of file <a class="el" href="drovector-double_8hpp_source.html">drovector-double.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]*d; }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a2e2542fd7a6d1559111eefbde7673d7c"></a><!-- doxytag: member="drovector::operator/" ref="a2e2542fd7a6d1559111eefbde7673d7c" args="(const drovector &amp;, const double &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator/ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector/double operator </p>

<p>Definition at line <a class="el" href="drovector-double_8hpp_source.html#l00033">33</a> of file <a class="el" href="drovector-double_8hpp_source.html">drovector-double.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]/d; }
  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a5178428a4e6fb9f203e92c7c831409ce"></a><!-- doxytag: member="drovector::operator%" ref="a5178428a4e6fb9f203e92c7c831409ce" args="(const drovector &amp;, const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double operator% </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector^T*drovector operator (inner product) </p>

<p>Definition at line <a class="el" href="drovector-drovector_8hpp_source.html#l00100">100</a> of file <a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</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>(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vecB.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a dot product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) % (&quot;</span> &lt;&lt; vecB.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordtype">double</span> val( ddot_( vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vecA.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, vecB.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1 ) );
  
  <span class="keywordflow">return</span> val;
}
</pre></div>
</div>
</div>
<a class="anchor" id="ab38a38cdfeb3430d0861ce861bf7962c"></a><!-- doxytag: member="drovector::operator%" ref="ab38a38cdfeb3430d0861ce861bf7962c" args="(const drovector &amp;, const _drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double operator% </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class__drovector.html">_drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vecB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>drovector^T*drovector operator (inner product) </p>

<p>Definition at line <a class="el" href="drovector-__drovector_8hpp_source.html#l00096">96</a> of file <a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</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>(vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>!=vecB.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a>){
    ERROR_REPORT;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;These two vectors can not make a dot product.&quot;</span> &lt;&lt; std::endl
              &lt;&lt; <span class="stringliteral">&quot;Your input was (&quot;</span> &lt;&lt; vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;) % (&quot;</span> &lt;&lt; vecB.<a class="code" href="class__drovector.html#a1d5f575560f3516140f1649301a9504f" title="vector size">l</a> &lt;&lt; <span class="stringliteral">&quot;).&quot;</span> &lt;&lt; std::endl;
    exit(1);
  }
<span class="preprocessor">#endif//CPPL_DEBUG</span>
<span class="preprocessor"></span>  
  <span class="keywordtype">double</span> val( ddot_( vecA.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>, vecA.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>, 1, vecB.<a class="code" href="class__drovector.html#ab4da9120db2bce05aa080e9d39cf1604" title="1D array to store vector data">array</a>, 1 ) );
  
  vecB.<a class="code" href="class__drovector.html#ab1494bd6c8c54e5a9cda2280e03a8c26">destroy</a>();
  <span class="keywordflow">return</span> val;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a615819add7198366f342e72759c14c4c"></a><!-- doxytag: member="drovector::operator*" ref="a615819add7198366f342e72759c14c4c" args="(const double &amp;, const drovector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class__drovector.html">_drovector</a> operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdrovector.html">drovector</a> &amp;&#160;</td>
          <td class="paramname"><em>vec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>double*drovector operator </p>

<p>Definition at line <a class="el" href="double-drovector_8hpp_source.html#l00003">3</a> of file <a class="el" href="double-drovector_8hpp_source.html">double-drovector.hpp</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector.html" title="Real Double-precision Row Vector Class.">drovector</a> newvec(vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>);
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>=0; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>&lt;vec.<a class="code" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e" title="vector size">l</a>; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){ newvec.array[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>] =d*vec.<a class="code" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb" title="1D array to store vector data">array</a>[<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>]; }  
  <span class="keywordflow">return</span> <a class="code" href="classdrovector.html#adeeee2ee73d7209619d89f7d62c9b90c">_</a>(newvec);
}
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a08df95e527c85a13ed99c4a0fd2b303e"></a><!-- doxytag: member="drovector::l" ref="a08df95e527c85a13ed99c4a0fd2b303e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classdrovector.html#a08df95e527c85a13ed99c4a0fd2b303e">drovector::l</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>vector size </p>

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

<p>Referenced by <a class="el" href="drovector-misc_8hpp_source.html#l00134">_()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00053">alias()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00021">chsign()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00003">clear()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00028">copy()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00028">damax()</a>, <a class="el" href="dgematrix-lapack_8hpp_source.html#l00154">dgematrix::dgels()</a>, <a class="el" href="drovector-constructor_8hpp_source.html#l00003">drovector()</a>, <a class="el" href="drovector__small-constructors_8hpp_source.html#l00012">drovector_small&lt; l &gt;::drovector_small()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00021">idamax()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00013">nrm2()</a>, <a class="el" href="__drovector-drovector_8hpp_source.html#l00040">operator%()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00003">operator()()</a>, <a class="el" href="__dcovector-drovector_8hpp_source.html#l00003">operator*()</a>, <a class="el" href="drovector-double_8hpp_source.html#l00003">operator*=()</a>, <a class="el" href="__drovector-drovector_8hpp_source.html#l00003">operator+()</a>, <a class="el" href="drovector-__drovector_8hpp_source.html#l00015">operator+=()</a>, <a class="el" href="__drovector-drovector_8hpp_source.html#l00022">operator-()</a>, <a class="el" href="drovector-__drovector_8hpp_source.html#l00034">operator-=()</a>, <a class="el" href="drovector-double_8hpp_source.html#l00033">operator/()</a>, <a class="el" href="drovector-double_8hpp_source.html#l00011">operator/=()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00059">operator&lt;&lt;()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00090">read()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00072">resize()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00039">set()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00040">shallow_copy()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00093">stretch()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00124">swap()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00003">t()</a>, <a class="el" href="drovector-cast_8hpp_source.html#l00003">to_zrovector()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00063">unalias()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00072">write()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00013">zero()</a>, and <a class="el" href="zgematrix-lapack_8hpp_source.html#l00149">zgematrix::zgels()</a>.</p>

</div>
</div>
<a class="anchor" id="ad21f3c0c6f1bf31d7b506c1658f5b14e"></a><!-- doxytag: member="drovector::cap" ref="ad21f3c0c6f1bf31d7b506c1658f5b14e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long <a class="el" href="classdrovector.html#ad21f3c0c6f1bf31d7b506c1658f5b14e">drovector::cap</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>vector capacity </p>

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

<p>Referenced by <a class="el" href="drovector-misc_8hpp_source.html#l00134">_()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00053">alias()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00003">clear()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00028">copy()</a>, <a class="el" href="drovector-constructor_8hpp_source.html#l00003">drovector()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00072">resize()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00040">shallow_copy()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00093">stretch()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00124">swap()</a>, and <a class="el" href="drovector-misc_8hpp_source.html#l00063">unalias()</a>.</p>

</div>
</div>
<a class="anchor" id="ac66f6cbcc4d7c345cce70528d0fef7bb"></a><!-- doxytag: member="drovector::array" ref="ac66f6cbcc4d7c345cce70528d0fef7bb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* <a class="el" href="classdrovector.html#ac66f6cbcc4d7c345cce70528d0fef7bb">drovector::array</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>1D array to store vector data </p>

<p>Definition at line <a class="el" href="drovector_8hpp_source.html#l00011">11</a> of file <a class="el" href="drovector_8hpp_source.html">drovector.hpp</a>.</p>

<p>Referenced by <a class="el" href="drovector-misc_8hpp_source.html#l00134">_()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00053">alias()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00021">chsign()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00003">clear()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00028">copy()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00028">damax()</a>, <a class="el" href="drovector-constructor_8hpp_source.html#l00003">drovector()</a>, <a class="el" href="drovector__small-constructors_8hpp_source.html#l00012">drovector_small&lt; l &gt;::drovector_small()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00021">idamax()</a>, <a class="el" href="drovector-calc_8hpp_source.html#l00013">nrm2()</a>, <a class="el" href="__drovector-drovector_8hpp_source.html#l00040">operator%()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00003">operator()()</a>, <a class="el" href="__drovector-__dgbmatrix_8hpp_source.html#l00003">operator*()</a>, <a class="el" href="drovector-double_8hpp_source.html#l00003">operator*=()</a>, <a class="el" href="__drovector-drovector_8hpp_source.html#l00003">operator+()</a>, <a class="el" href="drovector-__drovector_8hpp_source.html#l00015">operator+=()</a>, <a class="el" href="__drovector-drovector_8hpp_source.html#l00022">operator-()</a>, <a class="el" href="drovector-__drovector_8hpp_source.html#l00034">operator-=()</a>, <a class="el" href="drovector-double_8hpp_source.html#l00033">operator/()</a>, <a class="el" href="drovector-double_8hpp_source.html#l00011">operator/=()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00059">operator&lt;&lt;()</a>, <a class="el" href="drovector-drovector_8hpp_source.html#l00003">operator=()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00072">resize()</a>, <a class="el" href="drovector-io_8hpp_source.html#l00039">set()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00040">shallow_copy()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00093">stretch()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00124">swap()</a>, <a class="el" href="dcovector-calc_8hpp_source.html#l00003">t()</a>, <a class="el" href="drovector-cast_8hpp_source.html#l00003">to_zrovector()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00063">unalias()</a>, <a class="el" href="drovector-misc_8hpp_source.html#l00013">zero()</a>, and <a class="el" href="drovector-constructor_8hpp_source.html#l00069">~drovector()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="drovector_8hpp_source.html">drovector.hpp</a></li>
<li><a class="el" href="drovector-__drovector_8hpp_source.html">drovector-_drovector.hpp</a></li>
<li><a class="el" href="drovector-cast_8hpp_source.html">drovector-cast.hpp</a></li>
<li><a class="el" href="drovector-constructor_8hpp_source.html">drovector-constructor.hpp</a></li>
<li><a class="el" href="drovector-double_8hpp_source.html">drovector-double.hpp</a></li>
<li><a class="el" href="drovector-drovector_8hpp_source.html">drovector-drovector.hpp</a></li>
<li><a class="el" href="drovector-io_8hpp_source.html">drovector-io.hpp</a></li>
<li><a class="el" href="drovector-misc_8hpp_source.html">drovector-misc.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>
