root/doc/html/operators_8h-source.html @ 353

Revision 353, 110.1 kB (checked in by smidl, 15 years ago)

doc

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: operators.h Source File</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li><a href="annotated.html"><span>Classes</span></a></li>
56      <li class="current"><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63    </ul>
64  </div>
65<h1>operators.h</h1><a href="operators_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
66<a name="l00030"></a>00030 <span class="preprocessor">#ifndef OPERATORS_H</span>
67<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define OPERATORS_H</span>
68<a name="l00032"></a>00032 <span class="preprocessor"></span>
69<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;<a class="code" href="vec_8h.html" title="Templated Vector Class Definitions.">itpp/base/vec.h</a>&gt;</span>
70<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;<a class="code" href="mat_8h.html" title="Matrix Class Definitions.">itpp/base/mat.h</a>&gt;</span>
71<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;<a class="code" href="converters_8h.html" title="Definitions of converters between different vector and matrix types.">itpp/base/converters.h</a>&gt;</span>
72<a name="l00036"></a>00036
73<a name="l00037"></a>00037
74<a name="l00038"></a>00038 <span class="keyword">namespace </span>itpp
75<a name="l00039"></a>00039 {
76<a name="l00040"></a>00040
77<a name="l00041"></a>00041 <span class="comment">//---------------------- between scalars and complex&lt;double&gt; -----------------</span>
78<a name="l00043"></a>00043 <span class="comment"></span><span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;x, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x + y.real(), x + y.imag());}
79<a name="l00045"></a>00045 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;x, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x + y.real(), x + y.imag());}
80<a name="l00047"></a>00047 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real() + y, x.imag() + y);}
81<a name="l00049"></a>00049 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real() + y, x.imag() + y);}
82<a name="l00050"></a>00050
83<a name="l00052"></a>00052 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;x, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x - y.real(), x - y.imag());}
84<a name="l00054"></a>00054 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;x, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x - y.real(), x - y.imag());}
85<a name="l00056"></a>00056 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real() - y, x.imag() - y);}
86<a name="l00058"></a>00058 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real() - y, x.imag() - y);}
87<a name="l00059"></a>00059
88<a name="l00061"></a>00061 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;x, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x*y.real(), x*y.imag());}
89<a name="l00063"></a>00063 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;x, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x*y.real(), x*y.imag());}
90<a name="l00065"></a>00065 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real()*y, x.imag()*y);}
91<a name="l00067"></a>00067 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real()*y, x.imag()*y);}
92<a name="l00068"></a>00068
93<a name="l00070"></a>00070 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real() / y, x.imag() / y);}
94<a name="l00072"></a>00072 <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;x, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;y) {<span class="keywordflow">return</span> std::complex&lt;double&gt;(x.real() / y, x.imag() / y);}
95<a name="l00073"></a>00073
96<a name="l00074"></a>00074
97<a name="l00075"></a>00075 <span class="comment">//---------------------- between vec and scalar --------------------</span>
98<a name="l00076"></a>00076
99<a name="l00081"></a><a class="code" href="classitpp_1_1Vec.html#d6a4921289a70a5bbbd8bb837a7ae8ff">00081</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#d6a4921289a70a5bbbd8bb837a7ae8ff" title="Addition operator for float and vec.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
100<a name="l00082"></a>00082
101<a name="l00087"></a><a class="code" href="classitpp_1_1Vec.html#0f48f58e926d94a049462b4aaaa27d2a">00087</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#0f48f58e926d94a049462b4aaaa27d2a" title="Addition operator for short and vec.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
102<a name="l00088"></a>00088
103<a name="l00093"></a><a class="code" href="classitpp_1_1Vec.html#e16d73a8786eeaf60e426245d85a5508">00093</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#e16d73a8786eeaf60e426245d85a5508" title="Addition operator for int and vec.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
104<a name="l00094"></a>00094
105<a name="l00099"></a><a class="code" href="classitpp_1_1Vec.html#2754389436792afd79831d70f66bb26c">00099</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#2754389436792afd79831d70f66bb26c" title="Addition operator for vec and float.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
106<a name="l00100"></a>00100
107<a name="l00105"></a><a class="code" href="classitpp_1_1Vec.html#2df642c207b36e9ea10a20ee16cd5aaf">00105</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#2df642c207b36e9ea10a20ee16cd5aaf" title="Addition operator for vec and short.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
108<a name="l00106"></a>00106
109<a name="l00111"></a><a class="code" href="classitpp_1_1Vec.html#fbc5264ea11269c809d545b4ad543f5a">00111</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#fbc5264ea11269c809d545b4ad543f5a" title="Addition operator for vec and int.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
110<a name="l00112"></a>00112
111<a name="l00117"></a><a class="code" href="classitpp_1_1Vec.html#8f63f4c081a1c15d7a72c355c2c7eff6">00117</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#8f63f4c081a1c15d7a72c355c2c7eff6" title="Subtraction operator for float and vec.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - v;}
112<a name="l00118"></a>00118
113<a name="l00123"></a><a class="code" href="classitpp_1_1Vec.html#09a8d526be6b86e4eb4849050b2a030b">00123</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#09a8d526be6b86e4eb4849050b2a030b" title="Subtraction operator for short and vec.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - v;}
114<a name="l00124"></a>00124
115<a name="l00129"></a><a class="code" href="classitpp_1_1Vec.html#8258cb1fc2187cfe96f918c55773ba1b">00129</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#8258cb1fc2187cfe96f918c55773ba1b" title="Subtraction operator for int and vec.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - v;}
116<a name="l00130"></a>00130
117<a name="l00135"></a><a class="code" href="classitpp_1_1Vec.html#086bb00cbc0247093420e6a22a5996d2">00135</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#086bb00cbc0247093420e6a22a5996d2" title="Subtraction operator for vec and float.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> v -<span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
118<a name="l00136"></a>00136
119<a name="l00141"></a><a class="code" href="classitpp_1_1Vec.html#a1c2cb02be8911c45b5b60dfc209dc39">00141</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#a1c2cb02be8911c45b5b60dfc209dc39" title="Subtraction operator for vec and short.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> v -<span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
120<a name="l00142"></a>00142
121<a name="l00147"></a><a class="code" href="classitpp_1_1Vec.html#2ba8e53d691539671ad9acad2e3267ac">00147</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#2ba8e53d691539671ad9acad2e3267ac" title="Subtraction operator for vec and int.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> v -<span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
122<a name="l00148"></a>00148
123<a name="l00153"></a><a class="code" href="classitpp_1_1Vec.html#c72d7f24c1bf72c9467e77bb47725edd">00153</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#c72d7f24c1bf72c9467e77bb47725edd" title="Multiplication operator for float and vec.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
124<a name="l00154"></a>00154
125<a name="l00159"></a><a class="code" href="classitpp_1_1Vec.html#a2b7365bf9a4dea735784ef6af15677a">00159</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#a2b7365bf9a4dea735784ef6af15677a" title="Multiplication operator for short and vec.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
126<a name="l00160"></a>00160
127<a name="l00165"></a><a class="code" href="classitpp_1_1Vec.html#c9a6a36a9199fbce947d9faf097b4e3e">00165</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#c9a6a36a9199fbce947d9faf097b4e3e" title="Multiplication operator for int and vec.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
128<a name="l00166"></a>00166
129<a name="l00171"></a>00171 cvec <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;s, <span class="keyword">const</span> vec &amp;v);
130<a name="l00172"></a>00172
131<a name="l00177"></a><a class="code" href="classitpp_1_1Vec.html#837f86310e8b88d218cb602825532f00">00177</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#837f86310e8b88d218cb602825532f00" title="Multiplication operator for vec and float.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
132<a name="l00178"></a>00178
133<a name="l00183"></a><a class="code" href="classitpp_1_1Vec.html#5e2abe314087800740f4022db8ae4154">00183</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#5e2abe314087800740f4022db8ae4154" title="Multiplication operator for vec and short.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
134<a name="l00184"></a>00184
135<a name="l00189"></a><a class="code" href="classitpp_1_1Vec.html#1fc0a7a78f09a84379a73c48d0aae3b0">00189</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#1fc0a7a78f09a84379a73c48d0aae3b0" title="Multiplication operator for vec and int.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
136<a name="l00190"></a>00190
137<a name="l00195"></a>00195 cvec <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> vec &amp;v, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;s);
138<a name="l00196"></a>00196
139<a name="l00201"></a><a class="code" href="classitpp_1_1Vec.html#d1ac1dcceda5933fb099be305a575e02">00201</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#d1ac1dcceda5933fb099be305a575e02" title="Division operator for vec and float.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> v / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
140<a name="l00202"></a>00202
141<a name="l00207"></a><a class="code" href="classitpp_1_1Vec.html#bb2e86c249e755648e22ca857ea0f81e">00207</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#bb2e86c249e755648e22ca857ea0f81e" title="Division operator for vec and short.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> v / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
142<a name="l00208"></a>00208
143<a name="l00213"></a><a class="code" href="classitpp_1_1Vec.html#b105965c2ef2cbc2da16b3a9eebe7a6f">00213</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#b105965c2ef2cbc2da16b3a9eebe7a6f" title="Division operator for vec and int.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> v / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
144<a name="l00214"></a>00214
145<a name="l00215"></a>00215
146<a name="l00216"></a>00216 <span class="comment">//---------------------- between ivec and scalar --------------------</span>
147<a name="l00217"></a>00217
148<a name="l00222"></a>00222 vec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> ivec &amp;v);
149<a name="l00223"></a>00223
150<a name="l00228"></a><a class="code" href="classitpp_1_1Vec.html#284fa4b79997dc77b982f18d530a2328">00228</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#284fa4b79997dc77b982f18d530a2328" title="Addition operator for ivec and double.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s) { <span class="keywordflow">return</span> s + v;}
151<a name="l00229"></a>00229
152<a name="l00234"></a>00234 vec <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> ivec &amp;v);
153<a name="l00235"></a>00235
154<a name="l00240"></a><a class="code" href="classitpp_1_1Vec.html#feea11ab8b84ab700553e7e5036a7ac8">00240</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#feea11ab8b84ab700553e7e5036a7ac8" title="Subtraction operator for ivec and double.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s) { <span class="keywordflow">return</span> v + (-s); }
155<a name="l00241"></a>00241
156<a name="l00246"></a>00246 vec <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> ivec &amp;v);
157<a name="l00247"></a>00247
158<a name="l00252"></a><a class="code" href="classitpp_1_1Vec.html#7bcbdda60408910a05433919030fb446">00252</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#7bcbdda60408910a05433919030fb446" title="Multiplication operator for ivec and double.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s) { <span class="keywordflow">return</span> s*v; }
159<a name="l00253"></a>00253
160<a name="l00258"></a>00258 vec <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> ivec &amp;v);
161<a name="l00259"></a>00259
162<a name="l00264"></a>00264 vec <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> ivec &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s);
163<a name="l00265"></a>00265
164<a name="l00270"></a>00270 cvec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;s, <span class="keyword">const</span> ivec &amp;v);
165<a name="l00271"></a>00271
166<a name="l00276"></a><a class="code" href="classitpp_1_1Vec.html#a39de201558e878e9c0fe223f566601a">00276</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#a39de201558e878e9c0fe223f566601a" title="Addition operator for ivec and complex&amp;lt;double&amp;gt;.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;v, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;s) { <span class="keywordflow">return</span> s + v;}
167<a name="l00277"></a>00277
168<a name="l00282"></a>00282 cvec <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;s, <span class="keyword">const</span> ivec &amp;v);
169<a name="l00283"></a>00283
170<a name="l00288"></a><a class="code" href="classitpp_1_1Vec.html#558913e1e0e0356e405234cf6927507e">00288</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#558913e1e0e0356e405234cf6927507e" title="Subtraction operator for ivec and complex&amp;lt;double&amp;gt;.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;v, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;s) { <span class="keywordflow">return</span> v + (-s); }
171<a name="l00289"></a>00289
172<a name="l00294"></a>00294 cvec <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;s, <span class="keyword">const</span> ivec &amp;v);
173<a name="l00295"></a>00295
174<a name="l00300"></a><a class="code" href="classitpp_1_1Vec.html#f4be68210119e2740fcc0ca537c153cd">00300</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#f4be68210119e2740fcc0ca537c153cd" title="Multiplication operator for ivec and complex&amp;lt;double&amp;gt;.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;v, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;s) { <span class="keywordflow">return</span> s*v; }
175<a name="l00301"></a>00301
176<a name="l00306"></a>00306 cvec <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;s, <span class="keyword">const</span> ivec &amp;v);
177<a name="l00307"></a>00307
178<a name="l00312"></a>00312 cvec <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> ivec &amp;v, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;s);
179<a name="l00313"></a>00313
180<a name="l00314"></a>00314 <span class="comment">//---------------------- between cvec and scalar --------------------</span>
181<a name="l00315"></a>00315
182<a name="l00320"></a>00320 cvec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cvec &amp;v);
183<a name="l00321"></a>00321
184<a name="l00326"></a><a class="code" href="classitpp_1_1Vec.html#26632f30ce1eeafc78551790547f5fb2">00326</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#26632f30ce1eeafc78551790547f5fb2" title="Addition operator for float and cvec.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
185<a name="l00327"></a>00327
186<a name="l00332"></a><a class="code" href="classitpp_1_1Vec.html#cce524b808ea47290e4a6ce1b6572af9">00332</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#cce524b808ea47290e4a6ce1b6572af9" title="Addition operator for short and cvec.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
187<a name="l00333"></a>00333
188<a name="l00338"></a><a class="code" href="classitpp_1_1Vec.html#dad8e6b419616fcb42cae11842883cb3">00338</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#dad8e6b419616fcb42cae11842883cb3" title="Addition operator for int and cvec.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + v;}
189<a name="l00339"></a>00339
190<a name="l00344"></a><a class="code" href="classitpp_1_1Vec.html#97f5548d7e0dbcf4900b827020c6ed99">00344</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#97f5548d7e0dbcf4900b827020c6ed99" title="Addition operator for cvec and float.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> s + v;}
191<a name="l00345"></a>00345
192<a name="l00350"></a><a class="code" href="classitpp_1_1Vec.html#cd7c59067584b8b05d24fff226d6e72e">00350</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#cd7c59067584b8b05d24fff226d6e72e" title="Addition operator for cvec and double.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s) {<span class="keywordflow">return</span> s + v;}
193<a name="l00351"></a>00351
194<a name="l00356"></a><a class="code" href="classitpp_1_1Vec.html#91dfb90a6f559ed378468404fded9235">00356</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#91dfb90a6f559ed378468404fded9235" title="Addition operator for cvec and short.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> s + v;}
195<a name="l00357"></a>00357
196<a name="l00362"></a><a class="code" href="classitpp_1_1Vec.html#094caf274df471509499ca0ddbb111f7">00362</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#094caf274df471509499ca0ddbb111f7" title="Addition operator for cvec and int.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> s + v;}
197<a name="l00363"></a>00363
198<a name="l00368"></a>00368 cvec <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cvec &amp;v);
199<a name="l00369"></a>00369
200<a name="l00374"></a><a class="code" href="classitpp_1_1Vec.html#2ac6e000773ec02513f294f7aebbbfb8">00374</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#2ac6e000773ec02513f294f7aebbbfb8" title="Subtraction operator for float and cvec.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - v;}
201<a name="l00375"></a>00375
202<a name="l00380"></a><a class="code" href="classitpp_1_1Vec.html#f96ce85862c4f4e6262d1ee8bbeeeed1">00380</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#f96ce85862c4f4e6262d1ee8bbeeeed1" title="Subtraction operator for short and cvec.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - v;}
203<a name="l00381"></a>00381
204<a name="l00386"></a><a class="code" href="classitpp_1_1Vec.html#ab880a9248aae9b9c991113e45d4b37b">00386</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#ab880a9248aae9b9c991113e45d4b37b" title="Subtraction operator for int and cvec.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - v;}
205<a name="l00387"></a>00387
206<a name="l00392"></a><a class="code" href="classitpp_1_1Vec.html#d15ca7386c80e8fc28f8ee4b9cf6acbf">00392</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#d15ca7386c80e8fc28f8ee4b9cf6acbf" title="Subtraction operator for cvec and float.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> v + (-s);}
207<a name="l00393"></a>00393
208<a name="l00398"></a><a class="code" href="classitpp_1_1Vec.html#b46d1f19307dcec625ad68e69fa4fce3">00398</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#b46d1f19307dcec625ad68e69fa4fce3" title="Subtraction operator for cvec and double.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s) {<span class="keywordflow">return</span> v + (-s);}
209<a name="l00399"></a>00399
210<a name="l00404"></a><a class="code" href="classitpp_1_1Vec.html#43880b084344c187b95dc98352ebeb48">00404</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#43880b084344c187b95dc98352ebeb48" title="Subtraction operator for cvec and short.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> v + (-s);}
211<a name="l00405"></a>00405
212<a name="l00410"></a><a class="code" href="classitpp_1_1Vec.html#b2d497964019dcbff85a9082edc35fef">00410</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#b2d497964019dcbff85a9082edc35fef" title="Subtraction operator for cvec and int.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> v + (-s);}
213<a name="l00411"></a>00411
214<a name="l00416"></a>00416 cvec <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cvec &amp;v);
215<a name="l00417"></a>00417
216<a name="l00422"></a><a class="code" href="classitpp_1_1Vec.html#fc1d2a0a7f13e4be8137af801984c76e">00422</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#fc1d2a0a7f13e4be8137af801984c76e" title="Multiplication operator for float and cvec.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
217<a name="l00423"></a>00423
218<a name="l00428"></a><a class="code" href="classitpp_1_1Vec.html#41eba2751cb8607696db1fc824b5cdab">00428</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#41eba2751cb8607696db1fc824b5cdab" title="Multiplication operator for short and cvec.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
219<a name="l00429"></a>00429
220<a name="l00434"></a><a class="code" href="classitpp_1_1Vec.html#fb674affcda651cca195f5d27064c416">00434</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#fb674affcda651cca195f5d27064c416" title="Multiplication operator for int and cvec.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*v;}
221<a name="l00435"></a>00435
222<a name="l00440"></a><a class="code" href="classitpp_1_1Vec.html#823596e93d57f94b647822e9119bd89c">00440</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#823596e93d57f94b647822e9119bd89c" title="Multiplication operator for cvec and float.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> s*v;}
223<a name="l00441"></a>00441
224<a name="l00446"></a><a class="code" href="classitpp_1_1Vec.html#32f0454430779f259f4d4e88a687667b">00446</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#32f0454430779f259f4d4e88a687667b" title="Multiplication operator for cvec and double.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s) {<span class="keywordflow">return</span> s*v;}
225<a name="l00447"></a>00447
226<a name="l00452"></a><a class="code" href="classitpp_1_1Vec.html#40e4be25c4927d6f6b5f7765b1275338">00452</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#40e4be25c4927d6f6b5f7765b1275338" title="Multiplication operator for cvec and short.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> s*v;}
227<a name="l00453"></a>00453
228<a name="l00458"></a><a class="code" href="classitpp_1_1Vec.html#ce7b7f19e1b5b5aaa2134aaf52db05dc">00458</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#ce7b7f19e1b5b5aaa2134aaf52db05dc" title="Multiplication operator for cvec and int.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> s*v;}
229<a name="l00459"></a>00459
230<a name="l00464"></a>00464 cvec <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> cvec &amp;v, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s);
231<a name="l00465"></a>00465
232<a name="l00470"></a>00470 cvec <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cvec &amp;v);
233<a name="l00471"></a>00471
234<a name="l00476"></a><a class="code" href="classitpp_1_1Vec.html#6cb67906472493941e17a49a84fa2754">00476</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#6cb67906472493941e17a49a84fa2754" title="Division operator for cvec and float.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> v / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
235<a name="l00477"></a>00477
236<a name="l00482"></a><a class="code" href="classitpp_1_1Vec.html#59ab2b4279e03dcfa7a097b99565bc19">00482</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#59ab2b4279e03dcfa7a097b99565bc19" title="Division operator for cvec and short.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> v / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
237<a name="l00483"></a>00483
238<a name="l00488"></a><a class="code" href="classitpp_1_1Vec.html#41426757ca1b6eb67bd66b9495155616">00488</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#41426757ca1b6eb67bd66b9495155616" title="Division operator for cvec and int.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> v / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
239<a name="l00489"></a>00489
240<a name="l00490"></a>00490 <span class="comment">//---------------------- between mat and scalar --------------------</span>
241<a name="l00491"></a>00491
242<a name="l00496"></a><a class="code" href="classitpp_1_1Mat.html#6022e389af859267943eff01843850fe">00496</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#6022e389af859267943eff01843850fe" title="Addition operator for float and mat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + m;}
243<a name="l00497"></a>00497
244<a name="l00502"></a><a class="code" href="classitpp_1_1Mat.html#4a26a6ccac4615524b3b9e7c896fe228">00502</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#4a26a6ccac4615524b3b9e7c896fe228" title="Addition operator for short and mat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + m;}
245<a name="l00503"></a>00503
246<a name="l00508"></a><a class="code" href="classitpp_1_1Mat.html#6a5e2e7ce060ec61ce0267869b754510">00508</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#6a5e2e7ce060ec61ce0267869b754510" title="Addition operator for int and mat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + m;}
247<a name="l00509"></a>00509
248<a name="l00514"></a><a class="code" href="classitpp_1_1Mat.html#db0daa17b7a67018366d0de3d9289050">00514</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#db0daa17b7a67018366d0de3d9289050" title="Addition operator for mat and float.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + m;}
249<a name="l00515"></a>00515
250<a name="l00520"></a><a class="code" href="classitpp_1_1Mat.html#a57255f111af68edaed4ae10fc3979fd">00520</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#a57255f111af68edaed4ae10fc3979fd" title="Addition operator for mat and short.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + m;}
251<a name="l00521"></a>00521
252<a name="l00526"></a><a class="code" href="classitpp_1_1Mat.html#26c70b276e84d401c63092fc8bda0df0">00526</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#26c70b276e84d401c63092fc8bda0df0" title="Addition operator for mat and int.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) + m;}
253<a name="l00527"></a>00527
254<a name="l00532"></a><a class="code" href="classitpp_1_1Mat.html#b81dbb94d1573b8aaee58f5ff0311341">00532</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#b81dbb94d1573b8aaee58f5ff0311341" title="Subtraction operator for float and mat.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - m;}
255<a name="l00533"></a>00533
256<a name="l00538"></a><a class="code" href="classitpp_1_1Mat.html#dcae2695cc16cf763844adeb725bf238">00538</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#dcae2695cc16cf763844adeb725bf238" title="Subtraction operator for short and mat.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - m;}
257<a name="l00539"></a>00539
258<a name="l00544"></a><a class="code" href="classitpp_1_1Mat.html#999d4b703d3f6413c3654d7695acbac3">00544</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#999d4b703d3f6413c3654d7695acbac3" title="Subtraction operator for int and mat.">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s) - m;}
259<a name="l00545"></a>00545
260<a name="l00550"></a><a class="code" href="classitpp_1_1Mat.html#61d5af76701b54177492aa64e1ce2b9c">00550</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#61d5af76701b54177492aa64e1ce2b9c" title="Subtraction operator for mat and float.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> m -<span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
261<a name="l00551"></a>00551
262<a name="l00556"></a><a class="code" href="classitpp_1_1Mat.html#9758ca51febe98d83f48ec3ccc8819e7">00556</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#9758ca51febe98d83f48ec3ccc8819e7" title="Subtraction operator for mat and short.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> m -<span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
263<a name="l00557"></a>00557
264<a name="l00562"></a><a class="code" href="classitpp_1_1Mat.html#50f11b507d524b7fec162ab12516871b">00562</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#50f11b507d524b7fec162ab12516871b" title="Subtraction operator for mat and int.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> m -<span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
265<a name="l00563"></a>00563
266<a name="l00568"></a><a class="code" href="classitpp_1_1Mat.html#65b1e101847ede5a3a9a36e041098e0d">00568</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#65b1e101847ede5a3a9a36e041098e0d" title="Multiplication operator for float and mat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*m;}
267<a name="l00569"></a>00569
268<a name="l00574"></a><a class="code" href="classitpp_1_1Mat.html#ea9f91ead21d7b60ce21bf2342ef0f44">00574</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#ea9f91ead21d7b60ce21bf2342ef0f44" title="Multiplication operator for short and mat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*m;}
269<a name="l00575"></a>00575
270<a name="l00580"></a><a class="code" href="classitpp_1_1Mat.html#4f65e3fe3a4da2a02b297c0f0e0a2af5">00580</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#4f65e3fe3a4da2a02b297c0f0e0a2af5" title="Multiplication operator for int and mat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*m;}
271<a name="l00581"></a>00581
272<a name="l00586"></a><a class="code" href="classitpp_1_1Mat.html#4c957fb3fbe3daa7316cb2f68838c133">00586</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#4c957fb3fbe3daa7316cb2f68838c133" title="Multiplication operator for mat and float.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*m;}
273<a name="l00587"></a>00587
274<a name="l00592"></a><a class="code" href="classitpp_1_1Mat.html#ce2e9973de6ecac5ad5dc3df1e44f5ad">00592</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#ce2e9973de6ecac5ad5dc3df1e44f5ad" title="Multiplication operator for mat and short.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*m;}
275<a name="l00593"></a>00593
276<a name="l00598"></a><a class="code" href="classitpp_1_1Mat.html#af44c9cece775a002d1f398a16e9f6c8">00598</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#af44c9cece775a002d1f398a16e9f6c8" title="Multiplication operator for mat and int.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s)*m;}
277<a name="l00599"></a>00599
278<a name="l00604"></a><a class="code" href="classitpp_1_1Mat.html#f46494bfc9fdf732b666cba7c7b0ec43">00604</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#f46494bfc9fdf732b666cba7c7b0ec43" title="Division operator for mat and float.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;s) {<span class="keywordflow">return</span> m / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
279<a name="l00605"></a>00605
280<a name="l00610"></a><a class="code" href="classitpp_1_1Mat.html#82a91092a74e115dda75985e0a2dc8b3">00610</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#82a91092a74e115dda75985e0a2dc8b3" title="Division operator for mat and short.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">short</span> &amp;s) {<span class="keywordflow">return</span> m / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
281<a name="l00611"></a>00611
282<a name="l00616"></a><a class="code" href="classitpp_1_1Mat.html#d4f9d5d402ca9629f0a4c59e7b105c63">00616</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#d4f9d5d402ca9629f0a4c59e7b105c63" title="Division operator for mat and int.">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;s) {<span class="keywordflow">return</span> m / <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(s);}
283<a name="l00617"></a>00617
284<a name="l00618"></a>00618 <span class="comment">//---------------------- between cmat and scalar --------------------</span>
285<a name="l00619"></a>00619
286<a name="l00624"></a>00624 cmat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cmat &amp;m);
287<a name="l00625"></a>00625
288<a name="l00630"></a>00630 cmat <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cmat &amp;m);
289<a name="l00631"></a>00631
290<a name="l00636"></a>00636 cmat <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s, <span class="keyword">const</span> cmat &amp;m);
291<a name="l00637"></a>00637
292<a name="l00642"></a>00642 cmat <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> std::complex&lt;double&gt; &amp;s, <span class="keyword">const</span> mat &amp;m);
293<a name="l00643"></a>00643
294<a name="l00648"></a><a class="code" href="classitpp_1_1Mat.html#4411c425f7a0904ca5beef6284275fe8">00648</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#4411c425f7a0904ca5beef6284275fe8" title="Multiplication operator for mat and complex&amp;lt;double&amp;gt;.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;m, <span class="keyword">const</span> std::complex&lt;double&gt; &amp;s) {<span class="keywordflow">return</span> s*m;}
295<a name="l00649"></a>00649
296<a name="l00654"></a>00654 cmat <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> cmat &amp;m, <span class="keyword">const</span> <span class="keywordtype">double</span> &amp;s);
297<a name="l00655"></a>00655
298<a name="l00656"></a>00656 <span class="comment">//---------------------- between vec and vectors --------------------</span>
299<a name="l00657"></a>00657
300<a name="l00662"></a>00662 vec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> bvec &amp;a, <span class="keyword">const</span> vec &amp;b);
301<a name="l00663"></a>00663
302<a name="l00668"></a>00668 vec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> svec &amp;a, <span class="keyword">const</span> vec &amp;b);
303<a name="l00669"></a>00669
304<a name="l00674"></a>00674 vec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> ivec &amp;a, <span class="keyword">const</span> vec &amp;b);
305<a name="l00675"></a>00675
306<a name="l00680"></a><a class="code" href="classitpp_1_1Vec.html#dab01f0870c50d1c4b739da87abb9e69">00680</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#dab01f0870c50d1c4b739da87abb9e69" title="Addition operator for vec and bvec.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
307<a name="l00681"></a>00681
308<a name="l00686"></a><a class="code" href="classitpp_1_1Vec.html#bd2d7981cfd171094892a9ef873e9e6e">00686</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#bd2d7981cfd171094892a9ef873e9e6e" title="Addition operator for vec and svec.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
309<a name="l00687"></a>00687
310<a name="l00692"></a><a class="code" href="classitpp_1_1Vec.html#a91da4a8e5d90e92fc92a8923882b96f">00692</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#a91da4a8e5d90e92fc92a8923882b96f" title="Addition operator for vec and ivec.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
311<a name="l00693"></a>00693
312<a name="l00698"></a><a class="code" href="classitpp_1_1Vec.html#13b4fe4e232c481fc2ff0326b96e0456">00698</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#13b4fe4e232c481fc2ff0326b96e0456" title="Subtraction operator for bvec and vec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
313<a name="l00699"></a>00699
314<a name="l00704"></a><a class="code" href="classitpp_1_1Vec.html#37d81f47b58e8831f269ef2c4f575679">00704</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#37d81f47b58e8831f269ef2c4f575679" title="Subtraction operator for svec and vec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
315<a name="l00705"></a>00705
316<a name="l00710"></a><a class="code" href="classitpp_1_1Vec.html#a853b63106e35ec098966a636438129a">00710</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#a853b63106e35ec098966a636438129a" title="Subtraction operator for ivec and vec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
317<a name="l00711"></a>00711
318<a name="l00716"></a><a class="code" href="classitpp_1_1Vec.html#aa9252e293b54b746844a04b931e26e9">00716</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#aa9252e293b54b746844a04b931e26e9" title="Subtraction operator for vec and bvec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
319<a name="l00717"></a>00717
320<a name="l00722"></a><a class="code" href="classitpp_1_1Vec.html#636a143ea78bfd6f443109f93c539da0">00722</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#636a143ea78bfd6f443109f93c539da0" title="Subtraction operator for vec and svec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
321<a name="l00723"></a>00723
322<a name="l00728"></a><a class="code" href="classitpp_1_1Vec.html#fd50112bd16b88c8ad780f4a2b009690">00728</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> <a class="code" href="classitpp_1_1Vec.html#fd50112bd16b88c8ad780f4a2b009690" title="Subtraction operator for vec and ivec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
323<a name="l00729"></a>00729
324<a name="l00734"></a>00734 <span class="keywordtype">double</span> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> bvec &amp;a, <span class="keyword">const</span> vec &amp;b);
325<a name="l00735"></a>00735
326<a name="l00740"></a>00740 <span class="keywordtype">double</span> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> svec &amp;a, <span class="keyword">const</span> vec &amp;b);
327<a name="l00741"></a>00741
328<a name="l00746"></a>00746 <span class="keywordtype">double</span> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> ivec &amp;a, <span class="keyword">const</span> vec &amp;b);
329<a name="l00747"></a>00747
330<a name="l00752"></a><a class="code" href="classitpp_1_1Vec.html#aa2c5cd18ecd4d25b91f82cdef8d9329">00752</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Vec.html#aa2c5cd18ecd4d25b91f82cdef8d9329" title="Multiplication operator for vec and bvec.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
331<a name="l00753"></a>00753
332<a name="l00758"></a><a class="code" href="classitpp_1_1Vec.html#f8a92b3c48f6897510bcaff1ceff53d0">00758</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Vec.html#f8a92b3c48f6897510bcaff1ceff53d0" title="Multiplication operator for vec and svec.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
333<a name="l00759"></a>00759
334<a name="l00764"></a><a class="code" href="classitpp_1_1Vec.html#4b54eb6ac616e82c736e210b72649376">00764</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classitpp_1_1Vec.html#4b54eb6ac616e82c736e210b72649376" title="Multiplication operator for vec and ivec.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">vec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
335<a name="l00765"></a>00765
336<a name="l00766"></a>00766 <span class="comment">//---------------------- between cvec and vectors --------------------</span>
337<a name="l00767"></a>00767
338<a name="l00772"></a>00772 cvec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> bvec &amp;a, <span class="keyword">const</span> cvec &amp;b);
339<a name="l00773"></a>00773
340<a name="l00778"></a>00778 cvec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> svec &amp;a, <span class="keyword">const</span> cvec &amp;b);
341<a name="l00779"></a>00779
342<a name="l00784"></a>00784 cvec <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> ivec &amp;a, <span class="keyword">const</span> cvec &amp;b);
343<a name="l00785"></a>00785
344<a name="l00790"></a><a class="code" href="classitpp_1_1Vec.html#d2f5cbf8937949ee68ec72afee8bfc7a">00790</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#d2f5cbf8937949ee68ec72afee8bfc7a" title="Addition operator for cvec and bvec.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
345<a name="l00791"></a>00791
346<a name="l00796"></a><a class="code" href="classitpp_1_1Vec.html#f53a77a5aa793f5c08850740dd548269">00796</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#f53a77a5aa793f5c08850740dd548269" title="Addition operator for cvec and svec.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
347<a name="l00797"></a>00797
348<a name="l00802"></a><a class="code" href="classitpp_1_1Vec.html#3b6387e178f8ffe4fa985c95048f1658">00802</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#3b6387e178f8ffe4fa985c95048f1658" title="Addition operator for cvec and ivec.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
349<a name="l00803"></a>00803
350<a name="l00808"></a><a class="code" href="classitpp_1_1Vec.html#b4dcdc154da7e57940707da2bfcce6e4">00808</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#b4dcdc154da7e57940707da2bfcce6e4" title="Subtraction operator for bvec and cvec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
351<a name="l00809"></a>00809
352<a name="l00814"></a><a class="code" href="classitpp_1_1Vec.html#5e343a817c590a652d3f3a32c0dc6ba7">00814</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#5e343a817c590a652d3f3a32c0dc6ba7" title="Subtraction operator for svec and cvec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
353<a name="l00815"></a>00815
354<a name="l00820"></a><a class="code" href="classitpp_1_1Vec.html#f6106c3430565b273ea8ce94ebd5b0f8">00820</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#f6106c3430565b273ea8ce94ebd5b0f8" title="Subtraction operator for ivec and cvec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
355<a name="l00821"></a>00821
356<a name="l00826"></a><a class="code" href="classitpp_1_1Vec.html#c83a19c1e742bbbeddf346165c78b896">00826</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#c83a19c1e742bbbeddf346165c78b896" title="Subtraction operator for cvec and bvec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
357<a name="l00827"></a>00827
358<a name="l00832"></a><a class="code" href="classitpp_1_1Vec.html#8c4635caf9ba44539af53ce77b410291">00832</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#8c4635caf9ba44539af53ce77b410291" title="Subtraction operator for cvec and svec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
359<a name="l00833"></a>00833
360<a name="l00838"></a><a class="code" href="classitpp_1_1Vec.html#8ca7863f080949c672212e18944008f8">00838</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> <a class="code" href="classitpp_1_1Vec.html#8ca7863f080949c672212e18944008f8" title="Subtraction operator for cvec and ivec.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
361<a name="l00839"></a>00839
362<a name="l00844"></a>00844 std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> bvec &amp;a, <span class="keyword">const</span> cvec &amp;b);
363<a name="l00845"></a>00845
364<a name="l00850"></a>00850 std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> svec &amp;a, <span class="keyword">const</span> cvec &amp;b);
365<a name="l00851"></a>00851
366<a name="l00856"></a>00856 std::complex&lt;double&gt; <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> ivec &amp;a, <span class="keyword">const</span> cvec &amp;b);
367<a name="l00857"></a>00857
368<a name="l00862"></a><a class="code" href="classitpp_1_1Vec.html#7333c7fe6e0a7f1d7bc3f84521c7356d">00862</a> <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="classitpp_1_1Vec.html#7333c7fe6e0a7f1d7bc3f84521c7356d" title="Multiplication operator for cvec and bvec.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">bvec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
369<a name="l00863"></a>00863
370<a name="l00868"></a><a class="code" href="classitpp_1_1Vec.html#8762cc27147d1512ecd383edfc0bcdfb">00868</a> <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="classitpp_1_1Vec.html#8762cc27147d1512ecd383edfc0bcdfb" title="Multiplication operator for cvec and svec.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">svec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
371<a name="l00869"></a>00869
372<a name="l00874"></a><a class="code" href="classitpp_1_1Vec.html#7d5c8e9e7f8df1d936bff5b4018b1595">00874</a> <span class="keyword">inline</span> std::complex&lt;double&gt; <a class="code" href="classitpp_1_1Vec.html#7d5c8e9e7f8df1d936bff5b4018b1595" title="Multiplication operator for cvec and ivec.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html">cvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">ivec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
373<a name="l00875"></a>00875
374<a name="l00876"></a>00876 <span class="comment">//---------------------- between mat and matricies --------------------</span>
375<a name="l00877"></a>00877
376<a name="l00882"></a>00882 mat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;a, <span class="keyword">const</span> mat &amp;b);
377<a name="l00883"></a>00883
378<a name="l00888"></a>00888 mat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> smat &amp;a, <span class="keyword">const</span> mat &amp;b);
379<a name="l00889"></a>00889
380<a name="l00894"></a>00894 mat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> imat &amp;a, <span class="keyword">const</span> mat &amp;b);
381<a name="l00895"></a>00895
382<a name="l00900"></a><a class="code" href="classitpp_1_1Mat.html#652cd7df1724cce2aeef5c5adc4b1265">00900</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#652cd7df1724cce2aeef5c5adc4b1265" title="Addition operator for mat and bmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
383<a name="l00901"></a>00901
384<a name="l00906"></a><a class="code" href="classitpp_1_1Mat.html#00f26ad09b8eaa74f89caf7b9b96132a">00906</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#00f26ad09b8eaa74f89caf7b9b96132a" title="Addition operator for mat and smat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
385<a name="l00907"></a>00907
386<a name="l00912"></a><a class="code" href="classitpp_1_1Mat.html#cdd3e63bb0c992ae27539593c1173b72">00912</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#cdd3e63bb0c992ae27539593c1173b72" title="Addition operator for mat and imat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
387<a name="l00913"></a>00913
388<a name="l00918"></a><a class="code" href="classitpp_1_1Mat.html#fd7702cae4029943c9f19174f7548bcd">00918</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#fd7702cae4029943c9f19174f7548bcd" title="Subtraction operator for bmat and mat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
389<a name="l00919"></a>00919
390<a name="l00924"></a><a class="code" href="classitpp_1_1Mat.html#c16f88f93b4b56b189ce930597258cf4">00924</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#c16f88f93b4b56b189ce930597258cf4" title="Subtraction operator for smat and mat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
391<a name="l00925"></a>00925
392<a name="l00930"></a><a class="code" href="classitpp_1_1Mat.html#5df37b65f4ad8618a64df0f11a7f9ae2">00930</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#5df37b65f4ad8618a64df0f11a7f9ae2" title="Subtraction operator for imat and mat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
393<a name="l00931"></a>00931
394<a name="l00936"></a><a class="code" href="classitpp_1_1Mat.html#145dae0f24f3991a57ee3ef07f91f75b">00936</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#145dae0f24f3991a57ee3ef07f91f75b" title="Subtraction operator for mat and bmat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
395<a name="l00937"></a>00937
396<a name="l00942"></a><a class="code" href="classitpp_1_1Mat.html#299fd42d20c58c20114dff136c75e7ee">00942</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#299fd42d20c58c20114dff136c75e7ee" title="Subtraction operator for mat and smat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
397<a name="l00943"></a>00943
398<a name="l00948"></a><a class="code" href="classitpp_1_1Mat.html#f6ebd1b529a4ef4c6b15cb0dcf2c059d">00948</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> <a class="code" href="classitpp_1_1Mat.html#f6ebd1b529a4ef4c6b15cb0dcf2c059d" title="Subtraction operator for mat and imat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
399<a name="l00949"></a>00949
400<a name="l00950"></a>00950 <span class="comment">//---------------------- between cmat and matricies --------------------</span>
401<a name="l00951"></a>00951
402<a name="l00956"></a>00956 cmat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;a, <span class="keyword">const</span> cmat &amp;b);
403<a name="l00957"></a>00957
404<a name="l00962"></a>00962 cmat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> smat &amp;a, <span class="keyword">const</span> cmat &amp;b);
405<a name="l00963"></a>00963
406<a name="l00968"></a>00968 cmat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> imat &amp;a, <span class="keyword">const</span> cmat &amp;b);
407<a name="l00969"></a>00969
408<a name="l00974"></a>00974 cmat <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> mat &amp;a, <span class="keyword">const</span> cmat &amp;b);
409<a name="l00975"></a>00975
410<a name="l00980"></a><a class="code" href="classitpp_1_1Mat.html#50134412b11dd113c87d79d289358b84">00980</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#50134412b11dd113c87d79d289358b84" title="Addition operator for cmat and bmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
411<a name="l00981"></a>00981
412<a name="l00986"></a><a class="code" href="classitpp_1_1Mat.html#b661eb38aa9a1709f499d47b3649c554">00986</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#b661eb38aa9a1709f499d47b3649c554" title="Addition operator for cmat and smat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
413<a name="l00987"></a>00987
414<a name="l00992"></a><a class="code" href="classitpp_1_1Mat.html#32d56c021bbcc9d198326bda0ebca4b8">00992</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#32d56c021bbcc9d198326bda0ebca4b8" title="Addition operator for cmat and imat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
415<a name="l00993"></a>00993
416<a name="l00998"></a><a class="code" href="classitpp_1_1Mat.html#8d0dd929323f4f8398be28a0f2d601be">00998</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#8d0dd929323f4f8398be28a0f2d601be" title="Addition operator for cmat and mat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
417<a name="l00999"></a>00999
418<a name="l01004"></a><a class="code" href="classitpp_1_1Mat.html#a3bbbf1db7c520b63ee6f7ac869c90e8">01004</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#a3bbbf1db7c520b63ee6f7ac869c90e8" title="Subtraction operator for bmat and cmat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
419<a name="l01005"></a>01005
420<a name="l01010"></a><a class="code" href="classitpp_1_1Mat.html#8109c9a32f5fe8e7fefccf0bf22619b8">01010</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#8109c9a32f5fe8e7fefccf0bf22619b8" title="Subtraction operator for smat and cmat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
421<a name="l01011"></a>01011
422<a name="l01016"></a><a class="code" href="classitpp_1_1Mat.html#cf1236ed7ee5e3ad492cab09715e3c5d">01016</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#cf1236ed7ee5e3ad492cab09715e3c5d" title="Subtraction operator for imat and cmat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
423<a name="l01017"></a>01017
424<a name="l01022"></a><a class="code" href="classitpp_1_1Mat.html#690c8872c4d1322624dd6cb7b311bf54">01022</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#690c8872c4d1322624dd6cb7b311bf54" title="Subtraction operator for mat and cmat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
425<a name="l01023"></a>01023
426<a name="l01028"></a><a class="code" href="classitpp_1_1Mat.html#76bdfbd0b832d023dd8194263715356d">01028</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#76bdfbd0b832d023dd8194263715356d" title="Subtraction operator for cmat and bmat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
427<a name="l01029"></a>01029
428<a name="l01034"></a><a class="code" href="classitpp_1_1Mat.html#b1656d113860528bebddaa8ae816aae8">01034</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#b1656d113860528bebddaa8ae816aae8" title="Subtraction operator for cmat and smat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
429<a name="l01035"></a>01035
430<a name="l01040"></a><a class="code" href="classitpp_1_1Mat.html#5237f68b04a287846d7a7a9011a545b5">01040</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#5237f68b04a287846d7a7a9011a545b5" title="Subtraction operator for cmat and imat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
431<a name="l01041"></a>01041
432<a name="l01046"></a><a class="code" href="classitpp_1_1Mat.html#c0f7ead2946b6d9c5504d83a6cb4c862">01046</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#c0f7ead2946b6d9c5504d83a6cb4c862" title="Subtraction operator for cmat and mat.">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
433<a name="l01047"></a>01047
434<a name="l01052"></a><a class="code" href="classitpp_1_1Mat.html#6bc7c1fb3f33ca779bc01178fb047a4e">01052</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#6bc7c1fb3f33ca779bc01178fb047a4e" title="Multiplication operator for mat and cmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(a)*b;}
435<a name="l01053"></a>01053
436<a name="l01058"></a><a class="code" href="classitpp_1_1Mat.html#2ba498dc1ca1de4c6fb1887b0d6af59c">01058</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#2ba498dc1ca1de4c6fb1887b0d6af59c" title="Multiplication operator for bmat and cmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(a)*b;}
437<a name="l01059"></a>01059
438<a name="l01064"></a><a class="code" href="classitpp_1_1Mat.html#d0e0fde00179bf59522a448b8ce7be70">01064</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#d0e0fde00179bf59522a448b8ce7be70" title="Multiplication operator for smat and cmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(a)*b;}
439<a name="l01065"></a>01065
440<a name="l01070"></a><a class="code" href="classitpp_1_1Mat.html#7cd639a86b46b4c83cbc4a6db0fb2d84">01070</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#7cd639a86b46b4c83cbc4a6db0fb2d84" title="Multiplication operator for imat and cmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;b) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(a)*b;}
441<a name="l01071"></a>01071
442<a name="l01076"></a><a class="code" href="classitpp_1_1Mat.html#3f082929bcb3b0ebf42fc6d448437d85">01076</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#3f082929bcb3b0ebf42fc6d448437d85" title="Multiplication operator for cmat and mat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">mat</a> &amp;b) {<span class="keywordflow">return</span> a*<a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(b);}
443<a name="l01077"></a>01077
444<a name="l01082"></a><a class="code" href="classitpp_1_1Mat.html#7398d9d5c7f5fee46c6ee961ebf58d37">01082</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#7398d9d5c7f5fee46c6ee961ebf58d37" title="Multiplication operator for cmat and bmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="mat_8h.html#f90acd1af41bf2d1d8a4bb23662fff69" title="bin matrix">bmat</a> &amp;b) {<span class="keywordflow">return</span> a*<a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(b);}
445<a name="l01083"></a>01083
446<a name="l01088"></a><a class="code" href="classitpp_1_1Mat.html#464158ba820f8ca7158522edef8724d6">01088</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#464158ba820f8ca7158522edef8724d6" title="Multiplication operator for cmat and smat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">smat</a> &amp;b) {<span class="keywordflow">return</span> a*<a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(b);}
447<a name="l01089"></a>01089
448<a name="l01094"></a><a class="code" href="classitpp_1_1Mat.html#96633dd5e420f543dee53eb5396ac6d6">01094</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> <a class="code" href="classitpp_1_1Mat.html#96633dd5e420f543dee53eb5396ac6d6" title="Multiplication operator for cmat and imat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">imat</a> &amp;b) {<span class="keywordflow">return</span> a*<a class="code" href="group__fixed.html#g6c4d97173a184f3f3b1049214d662582" title="Converts a cfixmat to cmat.">to_cmat</a>(b);}
449<a name="l01095"></a>01095
450<a name="l01096"></a>01096 } <span class="comment">// namespace itpp</span>
451<a name="l01097"></a>01097
452<a name="l01098"></a>01098 <span class="preprocessor">#endif // #ifndef OPERATORS_H</span>
453<a name="l01099"></a>01099 <span class="preprocessor"></span>
454</pre></div></div>
455<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:12 2009 for mixpp by&nbsp;
456<a href="http://www.doxygen.org/index.html">
457<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
458</body>
459</html>
Note: See TracBrowser for help on using the browser.