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

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

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_a37d0dd275f7ec49ee26f1d33d1059f5.html">include</a>      </li>
      <li class="navelem"><a class="el" href="dir_cb17ad2bab547ae9db055464c7b276b8.html">small</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">double-small.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="double-small_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long l&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classdcovector__small.html">dcovector_small</a>&lt; l &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#a9c8b0251165c10a0c203b8aae89a5413">operator*</a> (const double &amp;v, const <a class="el" href="classdcovector__small.html">dcovector_small</a>&lt; l &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long l&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classdrovector__small.html">drovector_small</a>&lt; l &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#a777cda6ab80bda89abbb66487c9e6988">operator*</a> (const double &amp;v, const <a class="el" href="classdrovector__small.html">drovector_small</a>&lt; l &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long m, long n&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classdgematrix__small.html">dgematrix_small</a>&lt; m, n &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#aa5f946509a89b2f1af27761bbed940c2">operator*</a> (const double &amp;v, const <a class="el" href="classdgematrix__small.html">dgematrix_small</a>&lt; m, n &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long n&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classdsymatrix__small.html">dsymatrix_small</a>&lt; n &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#a860139094b42f602d5ffa442f0be26db">operator*</a> (const double &amp;v, const <a class="el" href="classdsymatrix__small.html">dsymatrix_small</a>&lt; n &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long l&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classzcovector__small.html">zcovector_small</a>&lt; l &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#a912c7a046dce2fe8ce5b57054283b343">operator*</a> (const double &amp;v, const <a class="el" href="classzcovector__small.html">zcovector_small</a>&lt; l &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long l&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classzrovector__small.html">zrovector_small</a>&lt; l &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#a85a35c53f8636563efcd8b6a02b66f3d">operator*</a> (const double &amp;v, const <a class="el" href="classzrovector__small.html">zrovector_small</a>&lt; l &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long m, long n&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classzgematrix__small.html">zgematrix_small</a>&lt; m, n &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#aaadbbb0bb5c1fed2a7ef5b0a34c4b29a">operator*</a> (const double &amp;v, const <a class="el" href="classzgematrix__small.html">zgematrix_small</a>&lt; m, n &gt; &amp;A)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;long n&gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classzhematrix__small.html">zhematrix_small</a>&lt; n &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="double-small_8hpp.html#a2411fc2622bc7c9a4b41a2a0b9494f7d">operator*</a> (const double &amp;v, const <a class="el" href="classzhematrix__small.html">zhematrix_small</a>&lt; n &gt; &amp;A)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a9c8b0251165c10a0c203b8aae89a5413"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="a9c8b0251165c10a0c203b8aae89a5413" args="(const double &amp;v, const dcovector_small&lt; l &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long l&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdcovector__small.html">dcovector_small</a>&lt;l&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdcovector__small.html">dcovector_small</a>&lt; l &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00004">4</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdcovector__small.html" title="Samll Real Double-precision Column Vector Class.">dcovector_small&lt;l&gt;</a> X;
  <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;l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    X(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>) =v*A(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>);
  }
  <span class="keywordflow">return</span> X;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a777cda6ab80bda89abbb66487c9e6988"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="a777cda6ab80bda89abbb66487c9e6988" args="(const double &amp;v, const drovector_small&lt; l &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long l&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdrovector__small.html">drovector_small</a>&lt;l&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdrovector__small.html">drovector_small</a>&lt; l &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00016">16</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdrovector__small.html" title="Samll Real Double-precision Row Vector Class.">drovector_small&lt;l&gt;</a> X;
  <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;l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    X(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>) =v*A(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>);
  }
  <span class="keywordflow">return</span> X;
}
</pre></div>
</div>
</div>
<a class="anchor" id="aa5f946509a89b2f1af27761bbed940c2"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="aa5f946509a89b2f1af27761bbed940c2" args="(const double &amp;v, const dgematrix_small&lt; m, n &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long m, long n&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdgematrix__small.html">dgematrix_small</a>&lt;m,n&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdgematrix__small.html">dgematrix_small</a>&lt; m, n &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00028">28</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdgematrix__small.html" title="Samll Real Double-precision General Dence Matrix Class.">dgematrix_small&lt;m,n&gt;</a> C;
  <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;m; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    <span class="keywordflow">for</span>(<span class="keywordtype">long</span> j=0; j&lt;n; j++){
      C(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>,j) =v*A(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>,j);
    }
  }
  <span class="keywordflow">return</span> C;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a860139094b42f602d5ffa442f0be26db"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="a860139094b42f602d5ffa442f0be26db" args="(const double &amp;v, const dsymatrix_small&lt; n &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long n&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classdsymatrix__small.html">dsymatrix_small</a>&lt;n&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classdsymatrix__small.html">dsymatrix_small</a>&lt; n &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00042">42</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="dsymatrix__small_8hpp_source.html#l00009">dsymatrix_small&lt; n &gt;::array</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classdsymatrix__small.html" title="Samll Real Double-precision Symmetric Matrix Class.">dsymatrix_small&lt;n&gt;</a> X;
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> k=0; k&lt;(n*(n+1))/2; k++){
    X.<a class="code" href="classdsymatrix__small.html#a44cdcb7801ce5be41a82bf33ba539f08">array</a>[k] =v*A.<a class="code" href="classdsymatrix__small.html#a44cdcb7801ce5be41a82bf33ba539f08">array</a>[k];
  }
  <span class="keywordflow">return</span> X;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a912c7a046dce2fe8ce5b57054283b343"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="a912c7a046dce2fe8ce5b57054283b343" args="(const double &amp;v, const zcovector_small&lt; l &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long l&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzcovector__small.html">zcovector_small</a>&lt;l&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classzcovector__small.html">zcovector_small</a>&lt; l &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00058">58</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classzcovector__small.html" title="Samll Complex Double-precision Column Vector Class.">zcovector_small&lt;l&gt;</a> X;
  <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;l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    X(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>) =v*A(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>);
  }
  <span class="keywordflow">return</span> X;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a85a35c53f8636563efcd8b6a02b66f3d"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="a85a35c53f8636563efcd8b6a02b66f3d" args="(const double &amp;v, const zrovector_small&lt; l &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long l&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzrovector__small.html">zrovector_small</a>&lt;l&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classzrovector__small.html">zrovector_small</a>&lt; l &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00070">70</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classzrovector__small.html" title="Samll Complex Double-precision Row Vector Class.">zrovector_small&lt;l&gt;</a> X;
  <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;l; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    X(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>) =v*A(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>);
  }
  <span class="keywordflow">return</span> X;
}
</pre></div>
</div>
</div>
<a class="anchor" id="aaadbbb0bb5c1fed2a7ef5b0a34c4b29a"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="aaadbbb0bb5c1fed2a7ef5b0a34c4b29a" args="(const double &amp;v, const zgematrix_small&lt; m, n &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long m, long n&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzgematrix__small.html">zgematrix_small</a>&lt;m,n&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classzgematrix__small.html">zgematrix_small</a>&lt; m, n &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00082">82</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="__dgbmatrix-calc_8hpp_source.html#l00019">i()</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classzgematrix__small.html" title="Samll Complex Double-precision General Dence Matrix Class.">zgematrix_small&lt;m,n&gt;</a> C;
  <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;m; <a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>++){
    <span class="keywordflow">for</span>(<span class="keywordtype">long</span> j=0; j&lt;n; j++){
      C(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>,j) =v*A(<a class="code" href="__dgbmatrix-calc_8hpp.html#af7c79b3740ba9c1d547f55ac94bc1258">i</a>,j);
    }
  }
  <span class="keywordflow">return</span> C;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a2411fc2622bc7c9a4b41a2a0b9494f7d"></a><!-- doxytag: member="double&#45;small.hpp::operator*" ref="a2411fc2622bc7c9a4b41a2a0b9494f7d" args="(const double &amp;v, const zhematrix_small&lt; n &gt; &amp;A)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;long n&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classzhematrix__small.html">zhematrix_small</a>&lt;n&gt; operator* </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classzhematrix__small.html">zhematrix_small</a>&lt; n &gt; &amp;&#160;</td>
          <td class="paramname"><em>A</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="double-small_8hpp_source.html#l00096">96</a> of file <a class="el" href="double-small_8hpp_source.html">double-small.hpp</a>.</p>

<p>References <a class="el" href="zhematrix__small_8hpp_source.html#l00009">zhematrix_small&lt; n &gt;::array</a>.</p>
<div class="fragment"><pre class="fragment">{VERBOSE_REPORT;
  <a class="code" href="classzhematrix__small.html" title="Samll Complex Double-precision Symmetric Matrix Class.">zhematrix_small&lt;n&gt;</a> X;
  <span class="keywordflow">for</span>(<span class="keywordtype">long</span> k=0; k&lt;(n*(n+1))/2; k++){
    X.<a class="code" href="classzhematrix__small.html#a3b6c79d2f760e457d12319f89b22a341">array</a>[k] =v*A.<a class="code" href="classzhematrix__small.html#a3b6c79d2f760e457d12319f89b22a341">array</a>[k];
  }
  <span class="keywordflow">return</span> X;
}
</pre></div>
</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

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



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

</body>
</html>
