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

Revision 353, 84.0 kB (checked in by smidl, 16 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: fix_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>fix_operators.h</h1><a href="fix__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 FIX_OPERATORS_H</span>
67<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define FIX_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="cfix_8h.html" title="Definitions of a complex fixed-point data type CFix.">itpp/fixed/cfix.h</a>&gt;</span>
70<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;<a class="code" href="fix__functions_8h.html" title="Definitions of a set of functions for Fix, Fixed, CFix and CFixed classes.">itpp/fixed/fix_functions.h</a>&gt;</span>
71<a name="l00035"></a>00035
72<a name="l00036"></a>00036
73<a name="l00037"></a>00037 <span class="keyword">namespace </span>itpp
74<a name="l00038"></a>00038 {
75<a name="l00039"></a>00039
76<a name="l00042"></a>00042
77<a name="l00044"></a>00044 <span class="comment">// Operators for Fix and Fixed //</span>
78<a name="l00046"></a>00046 <span class="comment"></span>
79<a name="l00048"></a>00048 Fix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> Fix &amp;y);
80<a name="l00050"></a>00050 Fix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> Fix &amp;y);
81<a name="l00052"></a>00052 Fix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> Fix &amp;y);
82<a name="l00054"></a>00054 Fix <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> Fix &amp;y);
83<a name="l00055"></a>00055
84<a name="l00057"></a>00057 Fix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
85<a name="l00059"></a>00059 Fix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
86<a name="l00061"></a>00061 Fix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
87<a name="l00063"></a>00063 Fix <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
88<a name="l00065"></a>00065 Fix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> Fix &amp;y);
89<a name="l00067"></a>00067 Fix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> Fix &amp;y);
90<a name="l00069"></a>00069 Fix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> Fix &amp;y);
91<a name="l00071"></a>00071 Fix <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">int</span> x, <span class="keyword">const</span> Fix &amp;y);
92<a name="l00072"></a>00072
93<a name="l00074"></a><a class="code" href="group__fixed.html#g42a55705e3b4360c97f8a1ea2d372f17">00074</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v + <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
94<a name="l00076"></a><a class="code" href="group__fixed.html#g3b43406f48f64bd8e44b82134b83df0a">00076</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s) + v;}
95<a name="l00078"></a><a class="code" href="group__fixed.html#g5f24564d959270fec0088814ffe22bb1">00078</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v - <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
96<a name="l00080"></a><a class="code" href="group__fixed.html#g6a019c04482665213efae36a75781c75">00080</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s) - v;}
97<a name="l00082"></a><a class="code" href="group__fixed.html#g888c4f1dae38eb75f81f63d9297c02b4">00082</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v * <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
98<a name="l00084"></a><a class="code" href="group__fixed.html#g61ea350d9f927d408cdd34f1fe5964a2">00084</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s) * v;}
99<a name="l00086"></a><a class="code" href="group__fixed.html#g6a671b13d77983bae082ada828dfc6ff">00086</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v / <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
100<a name="l00087"></a>00087
101<a name="l00089"></a><a class="code" href="group__fixed.html#g15d598f71cae9dcbae2c3c49b5d84ff0">00089</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v + <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
102<a name="l00091"></a><a class="code" href="group__fixed.html#g0cb8cd8d1b4594851b6a9211bf33a027">00091</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s) + v;}
103<a name="l00093"></a><a class="code" href="group__fixed.html#g86a617224e63333f59e938678134b16e">00093</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v - <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
104<a name="l00095"></a><a class="code" href="group__fixed.html#ga1f7f4c8dac1cf3be7357131d5fbe9a0">00095</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s) - v;}
105<a name="l00097"></a><a class="code" href="group__fixed.html#g058c335898159ee146b01ea2feeb1a4e">00097</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v * <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
106<a name="l00099"></a><a class="code" href="group__fixed.html#gefb10f27b4eab0244fd7955342e2826c">00099</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s) * v;}
107<a name="l00101"></a><a class="code" href="group__fixed.html#gefef147cbbbd14dc0e8745110a204457">00101</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v / <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a>(s);}
108<a name="l00102"></a>00102
109<a name="l00104"></a>00104 <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;a, <span class="keyword">const</span> ivec &amp;b);
110<a name="l00106"></a><a class="code" href="group__fixed.html#ga588eaa19c637b45aa0bd1d35c875788">00106</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <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> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
111<a name="l00108"></a><a class="code" href="group__fixed.html#ge654772cacfb72105aacd057338fa02e">00108</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;a, <span class="keyword">const</span> ivec &amp;b) {<span class="keywordflow">return</span> a + (-b);}
112<a name="l00110"></a><a class="code" href="group__fixed.html#g2b48848e968deb90deb4f4127f52ccb6">00110</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> ivec &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;b) {<span class="keywordflow">return</span> (-b) + a;}
113<a name="l00112"></a>00112 Fix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;a, <span class="keyword">const</span> ivec &amp;b);
114<a name="l00114"></a><a class="code" href="group__fixed.html#g41accb6fc6eb2909ff9a7777e576448f">00114</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> <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> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
115<a name="l00115"></a>00115
116<a name="l00117"></a>00117 <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;a, <span class="keyword">const</span> imat &amp;b);
117<a name="l00119"></a><a class="code" href="group__fixed.html#g59d6c2f8a073c674179b7d798c135ecf">00119</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <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> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
118<a name="l00121"></a><a class="code" href="group__fixed.html#gedfc23c82d2048129ba55247c4429a48">00121</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;a, <span class="keyword">const</span> imat &amp;b) {<span class="keywordflow">return</span> a + (-b);}
119<a name="l00123"></a><a class="code" href="group__fixed.html#g0f8f8b32c3c5ed0cec064bd2638a569b">00123</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> imat &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;b) {<span class="keywordflow">return</span> (-b) + a;}
120<a name="l00125"></a>00125 <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;a, <span class="keyword">const</span> imat &amp;b);
121<a name="l00127"></a><a class="code" href="group__fixed.html#g92cb07a426d78578bf778a6b963250ec">00127</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> imat &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
122<a name="l00128"></a>00128
123<a name="l00130"></a>00130 <span class="comment">// Operators for CFix and CFixed //</span>
124<a name="l00132"></a>00132 <span class="comment"></span>
125<a name="l00134"></a>00134 CFix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> CFix &amp;y);
126<a name="l00136"></a>00136 CFix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> CFix &amp;y);
127<a name="l00138"></a>00138 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> CFix &amp;y);
128<a name="l00140"></a>00140 CFix <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> CFix &amp;y);
129<a name="l00141"></a>00141
130<a name="l00143"></a>00143 CFix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> Fix &amp;y);
131<a name="l00145"></a>00145 CFix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> Fix &amp;y);
132<a name="l00147"></a>00147 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> Fix &amp;y);
133<a name="l00149"></a>00149 CFix <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> Fix &amp;y);
134<a name="l00151"></a>00151 CFix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> CFix &amp;y);
135<a name="l00153"></a>00153 CFix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> CFix &amp;y);
136<a name="l00155"></a>00155 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> CFix &amp;y);
137<a name="l00157"></a>00157 CFix <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> Fix &amp;x, <span class="keyword">const</span> CFix &amp;y);
138<a name="l00158"></a>00158
139<a name="l00160"></a>00160 CFix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
140<a name="l00162"></a>00162 CFix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
141<a name="l00164"></a>00164 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
142<a name="l00166"></a>00166 CFix <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> CFix &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);
143<a name="l00168"></a>00168 CFix <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> CFix &amp;y);
144<a name="l00170"></a>00170 CFix <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> CFix &amp;y);
145<a name="l00172"></a>00172 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> CFix &amp;y);
146<a name="l00174"></a>00174 CFix <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">int</span> x, <span class="keyword">const</span> CFix &amp;y);
147<a name="l00175"></a>00175
148<a name="l00177"></a><a class="code" href="group__fixed.html#gfba022b6c02d2813e0afa9712d5819f4">00177</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v) + s;}
149<a name="l00179"></a><a class="code" href="group__fixed.html#g242c1327e9c950d22ae5fec8b84364fa">00179</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v) {<span class="keywordflow">return</span> s + <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v);}
150<a name="l00181"></a><a class="code" href="group__fixed.html#ga8adce043a2f067fe29cc3e7b99c224a">00181</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v) - s;}
151<a name="l00183"></a><a class="code" href="group__fixed.html#ge1c224691c894b6cbae81346c944c2e6">00183</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v) {<span class="keywordflow">return</span> s - <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v);}
152<a name="l00185"></a><a class="code" href="group__fixed.html#g9a166d829b8b6cd6a19f6c47cb239219">00185</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v) * s;}
153<a name="l00187"></a><a class="code" href="group__fixed.html#g3f03a8304fd614c36ae0f408fab063f6">00187</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v) {<span class="keywordflow">return</span> s * <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v);}
154<a name="l00189"></a><a class="code" href="group__fixed.html#g7848619a69411769d3ad6398569db4a5">00189</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(v) / s;}
155<a name="l00190"></a>00190
156<a name="l00192"></a><a class="code" href="group__fixed.html#g91b93d4c49f412146e2448d703b7726d">00192</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m) + s;}
157<a name="l00194"></a><a class="code" href="group__fixed.html#gfcb19dff406bd74f08d57ab0d90f03d6">00194</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m) {<span class="keywordflow">return</span> s + <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m);}
158<a name="l00196"></a><a class="code" href="group__fixed.html#g53e6c6617ad97bd08d9a6c7e80bd2f90">00196</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m) - s;}
159<a name="l00198"></a><a class="code" href="group__fixed.html#gf4e16a0705e37550a4e9a2439c642b29">00198</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m) {<span class="keywordflow">return</span> s - <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m);}
160<a name="l00200"></a><a class="code" href="group__fixed.html#g444f8a275bb0afaf962ef1eaa4ce100a">00200</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m) * s;}
161<a name="l00202"></a><a class="code" href="group__fixed.html#g83db9d0520280c009d5ccf4ceccd9b14">00202</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m) {<span class="keywordflow">return</span> s * <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m);}
162<a name="l00204"></a><a class="code" href="group__fixed.html#gd7db364c86102255eabbb1000d326d6e">00204</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(m) / s;}
163<a name="l00205"></a>00205
164<a name="l00207"></a><a class="code" href="group__fixed.html#gc1d31f80e49c85792938ad5aadd7c088">00207</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> ivec &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v)) + s;}
165<a name="l00209"></a><a class="code" href="group__fixed.html#g0137d0bbe76a66f649d5711d18a7c7d7">00209</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> ivec &amp;v) {<span class="keywordflow">return</span> s + <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v));}
166<a name="l00211"></a><a class="code" href="group__fixed.html#g39b2dfb00931dee94eba9c98dc029c61">00211</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> ivec &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v)) - s;}
167<a name="l00213"></a><a class="code" href="group__fixed.html#gbc8c8066e5d58b2f8621f1be231a983d">00213</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> ivec &amp;v) {<span class="keywordflow">return</span> s - <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v));}
168<a name="l00215"></a><a class="code" href="group__fixed.html#gf2f36734022d0c74a7d54d2c3369a8f6">00215</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> ivec &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v)) * s;}
169<a name="l00217"></a><a class="code" href="group__fixed.html#ge487eca2e9557e730550050ca3aac2e1">00217</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> ivec &amp;v) {<span class="keywordflow">return</span> s * <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v));}
170<a name="l00219"></a><a class="code" href="group__fixed.html#g06c1fa2b202ff669229220495d6519c8">00219</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <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> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g9e5d027084a2a9e65500a0f5d4cf81a8" title="Converts a fixvec to vec.">to_vec</a>(v)) / s;}
171<a name="l00220"></a>00220
172<a name="l00222"></a><a class="code" href="group__fixed.html#g44c85fd6ab0b370b746289ce5a502593">00222</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> imat &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m)) + s;}
173<a name="l00224"></a><a class="code" href="group__fixed.html#g8950ed1307bc75d83bfa9c75d18a2b39">00224</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> imat &amp;m) {<span class="keywordflow">return</span> s + <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m));}
174<a name="l00226"></a><a class="code" href="group__fixed.html#gbd8facd9bf9a8b6bd8cde15d4d041f40">00226</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> imat &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m)) - s;}
175<a name="l00228"></a><a class="code" href="group__fixed.html#g6d557a4c0a14df184449e2b3d072b2c2">00228</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> imat &amp;m) {<span class="keywordflow">return</span> s - <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m));}
176<a name="l00230"></a><a class="code" href="group__fixed.html#g5651c32bd83179ed9b2dfe5a07561b43">00230</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> imat &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m)) * s;}
177<a name="l00232"></a><a class="code" href="group__fixed.html#g616edf1d5f78a234e4db60a049bab824">00232</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s, <span class="keyword">const</span> imat &amp;m) {<span class="keywordflow">return</span> s * <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m));}
178<a name="l00234"></a><a class="code" href="group__fixed.html#gcc7d7fa5922096958e9b91a602d5fd7c">00234</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> imat &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a> &amp;s) {<span class="keywordflow">return</span> <a class="code" href="group__fixed.html#ga6a1a87b29e20883f1e1ddc86136e9e1" title="Convert cfixmat to cfixmat.">to&lt;CFix&gt;</a>(<a class="code" href="group__fixed.html#g36d7bf8746a81d073e4db8b0ad3bec86" title="Converts a fixmat to mat.">to_mat</a>(m)) / s;}
179<a name="l00235"></a>00235
180<a name="l00237"></a><a class="code" href="group__fixed.html#gecf6bb1c0965efc7f31b189973f01720">00237</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> v + <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
181<a name="l00239"></a><a class="code" href="group__fixed.html#g9800ae19d7a2f6f4696de7fa753e08f8">00239</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s) + v;}
182<a name="l00241"></a><a class="code" href="group__fixed.html#g2dd8ba946c023bfaa0e9be8ba6e908a3">00241</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> v - <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
183<a name="l00243"></a><a class="code" href="group__fixed.html#gf0fd59b9d083bef7978887b42bbbaa19">00243</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s) - v;}
184<a name="l00245"></a><a class="code" href="group__fixed.html#g669ff1185d70a71ca8fa0649be7fe60d">00245</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> v * <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
185<a name="l00247"></a><a class="code" href="group__fixed.html#g4c19710c54b74c60df0be7e023d3765c">00247</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s) * v;}
186<a name="l00249"></a><a class="code" href="group__fixed.html#g43d83e60a40d230eb05dc877ed3f68ff">00249</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;v, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> v / <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
187<a name="l00250"></a>00250
188<a name="l00252"></a><a class="code" href="group__fixed.html#g5739c4ef32ed6340472cf73baea0bc09">00252</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> m + <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
189<a name="l00254"></a><a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8">00254</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s) + m;}
190<a name="l00256"></a><a class="code" href="group__fixed.html#ge376404c65507e3e06930eb7f8dbdd4c">00256</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> m - <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
191<a name="l00258"></a><a class="code" href="group__fixed.html#gf5d3b31b4154f5c0d916f080078e97d3">00258</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s) - m;}
192<a name="l00260"></a><a class="code" href="group__fixed.html#gb283b3b55385521a34effd6d0aecf3d2">00260</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> m * <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
193<a name="l00262"></a><a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7">00262</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m) {<span class="keywordflow">return</span> <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s) * m;}
194<a name="l00264"></a><a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96">00264</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;m, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Fix.html" title="Fixed-point data type.">Fix</a> &amp;s) {<span class="keywordflow">return</span> m / <a class="code" href="classitpp_1_1CFix.html" title="Complex fixed-point data type.">CFix</a>(s);}
195<a name="l00265"></a>00265
196<a name="l00267"></a>00267 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v + CFix(s);}
197<a name="l00269"></a>00269 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v) {<span class="keywordflow">return</span> CFix(s) + v;}
198<a name="l00271"></a>00271 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v - CFix(s);}
199<a name="l00273"></a>00273 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v) {<span class="keywordflow">return</span> CFix(s) - v;}
200<a name="l00275"></a>00275 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v * CFix(s);}
201<a name="l00277"></a>00277 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v) {<span class="keywordflow">return</span> CFix(s) * v;}
202<a name="l00279"></a>00279 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;v, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> v / CFix(s);}
203<a name="l00280"></a>00280
204<a name="l00282"></a>00282 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> m + CFix(s);}
205<a name="l00284"></a>00284 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m) {<span class="keywordflow">return</span> CFix(s) + m;}
206<a name="l00286"></a>00286 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> m - CFix(s);}
207<a name="l00288"></a>00288 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m) {<span class="keywordflow">return</span> CFix(s) - m;}
208<a name="l00290"></a>00290 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> m * CFix(s);}
209<a name="l00292"></a>00292 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> s, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m) {<span class="keywordflow">return</span> CFix(s) * m;}
210<a name="l00294"></a>00294 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#ge9cc89e3b09f5b52ba4ae21d4b95aa96" title="cfixmat / Fix using quantization mode TRN ">operator/</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;m, <span class="keyword">const</span> <span class="keywordtype">int</span> s) {<span class="keywordflow">return</span> m / CFix(s);}
211<a name="l00295"></a>00295
212<a name="l00297"></a>00297 <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;b);
213<a name="l00299"></a>00299 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
214<a name="l00301"></a><a class="code" href="group__fixed.html#gb3f1cd122f0453afe2dd36425115e599">00301</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">cfixvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">fixvec</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
215<a name="l00303"></a>00303 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;b) {<span class="keywordflow">return</span> (-b) + a;}
216<a name="l00305"></a>00305 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;b);
217<a name="l00307"></a>00307 <span class="keyword">inline</span> CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#gf4093112bbb02b7c82af656adf439499" title="Typedef for fixed-point vector type.">fixvec</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
218<a name="l00308"></a>00308
219<a name="l00310"></a>00310 <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;b);
220<a name="l00312"></a>00312 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
221<a name="l00314"></a><a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4">00314</a> <span class="keyword">inline</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">cfixmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classitpp_1_1Mat.html" title="Matrix Class (Templated).">fixmat</a> &amp;b) {<span class="keywordflow">return</span> a + (-b);}
222<a name="l00316"></a>00316 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;b) {<span class="keywordflow">return</span> (-b) + a;}
223<a name="l00318"></a>00318 <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;b);
224<a name="l00320"></a>00320 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#ga6edd9ee2e20c44f90a3bef4cebb07b1" title="Typedef for fixed-point matrix type.">fixmat</a> &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
225<a name="l00321"></a>00321
226<a name="l00323"></a>00323 <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;a, <span class="keyword">const</span> ivec &amp;b);
227<a name="l00325"></a>00325 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <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> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
228<a name="l00327"></a>00327 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;a, <span class="keyword">const</span> ivec &amp;b) {<span class="keywordflow">return</span> a + (-b);}
229<a name="l00329"></a>00329 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> ivec &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;b) {<span class="keywordflow">return</span> (-b) + a;}
230<a name="l00331"></a>00331 CFix <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;a, <span class="keyword">const</span> ivec &amp;b);
231<a name="l00333"></a>00333 <span class="keyword">inline</span> CFix <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> <a class="code" href="group__fixed.html#g057e78df9719352a7a2ae36c0e190982" title="Typedef for complex fixed-point vector type.">cfixvec</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
232<a name="l00334"></a>00334
233<a name="l00336"></a>00336 <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g683d6c037357e472e84756fe1b1faae8" title="Fix + cfixmat.">operator+</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;a, <span class="keyword">const</span> imat &amp;b);
234<a name="l00338"></a>00338 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <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> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;b) {<span class="keywordflow">return</span> b + a;}
235<a name="l00340"></a>00340 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;a, <span class="keyword">const</span> imat &amp;b) {<span class="keywordflow">return</span> a + (-b);}
236<a name="l00342"></a>00342 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g41209aad75a7463262eb402b575908c4" title="cfixmat - fixmat">operator-</a>(<span class="keyword">const</span> imat &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;b) {<span class="keywordflow">return</span> (-b) + a;}
237<a name="l00344"></a>00344 <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;a, <span class="keyword">const</span> imat &amp;b);
238<a name="l00346"></a>00346 <span class="keyword">inline</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> <a class="code" href="group__fixed.html#g8bb80689611f7b6b0e36f5507d990af7" title="Fix * cfixmat.">operator*</a>(<span class="keyword">const</span> imat &amp;a, <span class="keyword">const</span> <a class="code" href="group__fixed.html#g6dd4e3e315ed992df7841744c656afce" title="Typedef for complex fixed-point matrix type.">cfixmat</a> &amp;b) {<span class="keywordflow">return</span> b*a;}
239<a name="l00347"></a>00347
240<a name="l00349"></a>00349
241<a name="l00350"></a>00350 } <span class="comment">// namespace itpp</span>
242<a name="l00351"></a>00351
243<a name="l00352"></a>00352 <span class="preprocessor">#endif // #ifndef FIX_OPERATORS_H</span>
244</pre></div></div>
245<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:11 2009 for mixpp by&nbsp;
246<a href="http://www.doxygen.org/index.html">
247<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
248</body>
249</html>
Note: See TracBrowser for help on using the browser.