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: vec.h File Reference</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 | <!-- |
---|
10 | function 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 | } |
---|
22 | function 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 | } |
---|
46 | window.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 Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related 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 List</span></a></li> |
---|
62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
63 | </ul> |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | <div class="contents"> |
---|
67 | <h1>vec.h File Reference</h1>Templated Vector Class Definitions. |
---|
68 | <a href="#_details">More...</a> |
---|
69 | <p> |
---|
70 | <code>#include <itpp/config.h></code><br> |
---|
71 | <code>#include <<a class="el" href="itassert_8h-source.html">itpp/base/itassert.h</a>></code><br> |
---|
72 | <code>#include <<a class="el" href="misc_8h-source.html">itpp/base/math/misc.h</a>></code><br> |
---|
73 | <code>#include <<a class="el" href="copy__vector_8h-source.html">itpp/base/copy_vector.h</a>></code><br> |
---|
74 | <code>#include <<a class="el" href="factory_8h-source.html">itpp/base/factory.h</a>></code><br> |
---|
75 | <code>#include <vector></code><br> |
---|
76 | <code>#include <<a class="el" href="mat_8h-source.html">itpp/base/mat.h</a>></code><br> |
---|
77 | |
---|
78 | <p> |
---|
79 | <a href="vec_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
80 | <tr><td></td></tr> |
---|
81 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html">itpp::Vec< Num_T ></a></td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector Class (Templated). <a href="classitpp_1_1Vec.html#_details">More...</a><br></td></tr> |
---|
85 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
86 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="efcbc7ffb488d39320aac364bdb43d71"></a><!-- doxytag: member="vec.h::operator+" ref="efcbc7ffb488d39320aac364bdb43d71" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
87 | template<class Num_T > </td></tr> |
---|
88 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#efcbc7ffb488d39320aac364bdb43d71">itpp::operator+</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2)</td></tr> |
---|
89 | |
---|
90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of two vectors. <br></td></tr> |
---|
91 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="96a3310c13736b299b8a3397c9d6f02e"></a><!-- doxytag: member="vec.h::operator+" ref="96a3310c13736b299b8a3397c9d6f02e" args="(const Vec< Num_T > &v, Num_T t)" --> |
---|
92 | template<class Num_T > </td></tr> |
---|
93 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#96a3310c13736b299b8a3397c9d6f02e">itpp::operator+</a> (const Vec< Num_T > &v, Num_T t)</td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of a vector and a scalar. <br></td></tr> |
---|
96 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="ee8042e02c250bc27f6f0fd481392583"></a><!-- doxytag: member="vec.h::operator+" ref="ee8042e02c250bc27f6f0fd481392583" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
97 | template<class Num_T > </td></tr> |
---|
98 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#ee8042e02c250bc27f6f0fd481392583">itpp::operator+</a> (Num_T t, const Vec< Num_T > &v)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of a scalar and a vector. <br></td></tr> |
---|
101 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
102 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#41492676ca88d94678fc80798a4f9b61">itpp::operator-</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of a vector from a vector. <a href="#41492676ca88d94678fc80798a4f9b61"></a><br></td></tr> |
---|
105 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
106 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#bec66b50b4309ac76fb8637387fc267f">itpp::operator-</a> (const Vec< Num_T > &v, Num_T t)</td></tr> |
---|
107 | |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of a scalar from a vector. <a href="#bec66b50b4309ac76fb8637387fc267f"></a><br></td></tr> |
---|
109 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
110 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#cb9ddbc95a0a924b92c97ff362c5e98c">itpp::operator-</a> (Num_T t, const Vec< Num_T > &v)</td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of vector from scalar. Results in a vector. <a href="#cb9ddbc95a0a924b92c97ff362c5e98c"></a><br></td></tr> |
---|
113 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="d4b91e58aac2937f2b6fd37337abf8b3"></a><!-- doxytag: member="vec.h::operator-" ref="d4b91e58aac2937f2b6fd37337abf8b3" args="(const Vec< Num_T > &v)" --> |
---|
114 | template<class Num_T > </td></tr> |
---|
115 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#d4b91e58aac2937f2b6fd37337abf8b3">itpp::operator-</a> (const Vec< Num_T > &v)</td></tr> |
---|
116 | |
---|
117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Negation of vector. <br></td></tr> |
---|
118 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
119 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Num_T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#bd998129beab84b1f849f2d7e95ac230">itpp::dot</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2)</td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inner (dot) product of two vectors v1 and v2. <a href="#bd998129beab84b1f849f2d7e95ac230"></a><br></td></tr> |
---|
122 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
123 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Num_T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#b3a20a679a38f7d442703c97037c949d">itpp::operator*</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2)</td></tr> |
---|
124 | |
---|
125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inner (dot) product of two vectors v1 and v2. <a href="#b3a20a679a38f7d442703c97037c949d"></a><br></td></tr> |
---|
126 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
127 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Mat< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#bbcd0ac3ce41ab8a8041839d1da6c69d">itpp::outer_product</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2, bool hermitian=false)</td></tr> |
---|
128 | |
---|
129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Outer product of two vectors v1 and v2. <a href="#bbcd0ac3ce41ab8a8041839d1da6c69d"></a><br></td></tr> |
---|
130 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
131 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#e4cf3c37d0bc40d7847e9197e0ca5c89">itpp::operator*</a> (const Vec< Num_T > &v, Num_T t)</td></tr> |
---|
132 | |
---|
133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication of a vector and a scalar. <a href="#e4cf3c37d0bc40d7847e9197e0ca5c89"></a><br></td></tr> |
---|
134 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
135 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#e103385c2666923b4252bf27142c9958">itpp::operator*</a> (Num_T t, const Vec< Num_T > &v)</td></tr> |
---|
136 | |
---|
137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication of a scalar and a vector. Results in a vector. <a href="#e103385c2666923b4252bf27142c9958"></a><br></td></tr> |
---|
138 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
139 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#4a6f112bf8e84c53020690e0986091c3">itpp::elem_mult</a> (const Vec< Num_T > &a, const Vec< Num_T > &b)</td></tr> |
---|
140 | |
---|
141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of two vectors. <a href="#4a6f112bf8e84c53020690e0986091c3"></a><br></td></tr> |
---|
142 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
143 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#8388a8169b6de2a2abe33c43e80730e6">itpp::elem_mult</a> (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c)</td></tr> |
---|
144 | |
---|
145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of three vectors. <a href="#8388a8169b6de2a2abe33c43e80730e6"></a><br></td></tr> |
---|
146 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
147 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#dd4dc34c45fcb78fba28f63674a55c2b">itpp::elem_mult</a> (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, const Vec< Num_T > &d)</td></tr> |
---|
148 | |
---|
149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of four vectors. <a href="#dd4dc34c45fcb78fba28f63674a55c2b"></a><br></td></tr> |
---|
150 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
151 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#cb54474b1c32f78f6eb16aa596e81122">itpp::elem_mult_out</a> (const Vec< Num_T > &a, const Vec< Num_T > &b, Vec< Num_T > &out)</td></tr> |
---|
152 | |
---|
153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of two vectors, storing the result in vector <code>out</code>. <a href="#cb54474b1c32f78f6eb16aa596e81122"></a><br></td></tr> |
---|
154 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
155 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#f4b2c3f5e1d5137be4c6d84ff7222204">itpp::elem_mult_out</a> (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, Vec< Num_T > &out)</td></tr> |
---|
156 | |
---|
157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of three vectors, storing the result in vector <code>out</code>. <a href="#f4b2c3f5e1d5137be4c6d84ff7222204"></a><br></td></tr> |
---|
158 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
159 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#adb7f8cf0810b338a6e2c254b1ed7d40">itpp::elem_mult_out</a> (const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, const Vec< Num_T > &d, Vec< Num_T > &out)</td></tr> |
---|
160 | |
---|
161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of four vectors, storing the result in vector <code>out</code>. <a href="#adb7f8cf0810b338a6e2c254b1ed7d40"></a><br></td></tr> |
---|
162 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
163 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#9f500dcf7886b0ae1d9c10ee645fbf9a">itpp::elem_mult_inplace</a> (const Vec< Num_T > &a, Vec< Num_T > &b)</td></tr> |
---|
164 | |
---|
165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place element-wise multiplication of two vectors. Faster version of b = elem_mult(a,b). <a href="#9f500dcf7886b0ae1d9c10ee645fbf9a"></a><br></td></tr> |
---|
166 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="5baf28a9b32549b64010931e91e3154c"></a><!-- doxytag: member="vec.h::elem_mult_sum" ref="5baf28a9b32549b64010931e91e3154c" args="(const Vec< Num_T > &a, const Vec< Num_T > &b)" --> |
---|
167 | template<class Num_T > </td></tr> |
---|
168 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Num_T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#5baf28a9b32549b64010931e91e3154c">itpp::elem_mult_sum</a> (const Vec< Num_T > &a, const Vec< Num_T > &b)</td></tr> |
---|
169 | |
---|
170 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element-wise multiplication of two vectors, followed by summation of the resultant elements. Fast version of sum(elem_mult(a,b)). <br></td></tr> |
---|
171 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
172 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#ffccaca7c9b2453a685bce759994b619">itpp::operator/</a> (const Vec< Num_T > &v, Num_T t)</td></tr> |
---|
173 | |
---|
174 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division of all elements in <code>v</code> with <code>t</code>. <a href="#ffccaca7c9b2453a685bce759994b619"></a><br></td></tr> |
---|
175 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
176 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#f268e7b97b3b839b1dee23e35901c98f">itpp::operator/</a> (Num_T t, const Vec< Num_T > &v)</td></tr> |
---|
177 | |
---|
178 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division of <code>t</code> with all elements in <code>v</code>. <a href="#f268e7b97b3b839b1dee23e35901c98f"></a><br></td></tr> |
---|
179 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
180 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#aa8fe1167fa93345a93a43f8f5e1f265">itpp::elem_div</a> (const Vec< Num_T > &a, const Vec< Num_T > &b)</td></tr> |
---|
181 | |
---|
182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division of two vectors. <a href="#aa8fe1167fa93345a93a43f8f5e1f265"></a><br></td></tr> |
---|
183 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
184 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#035b179ab8e2cb6d0a74240c54330162">itpp::elem_div</a> (Num_T t, const Vec< Num_T > &v)</td></tr> |
---|
185 | |
---|
186 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This function is deprecated. Please use operator/(Num_T, const Vec<Num_T &) instead. <a href="#035b179ab8e2cb6d0a74240c54330162"></a><br></td></tr> |
---|
187 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
188 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#27fa087ace8d1dd2703ad66c452f6c4f">itpp::elem_div_out</a> (const Vec< Num_T > &a, const Vec< Num_T > &b, Vec< Num_T > &out)</td></tr> |
---|
189 | |
---|
190 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division of two vectors, storing the result in vector <code>out</code>. <a href="#27fa087ace8d1dd2703ad66c452f6c4f"></a><br></td></tr> |
---|
191 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
192 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Num_T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#3c4b283b9b152ba2f34e5d17049e396e">itpp::elem_div_sum</a> (const Vec< Num_T > &a, const Vec< Num_T > &b)</td></tr> |
---|
193 | |
---|
194 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division of two vectors, followed by summation of the resultant elements. Fast version of sum(elem_div(a,b)). <a href="#3c4b283b9b152ba2f34e5d17049e396e"></a><br></td></tr> |
---|
195 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
196 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#aab89601ad40c671a4c4b3b5380ee6d4">itpp::concat</a> (const Vec< Num_T > &v, Num_T a)</td></tr> |
---|
197 | |
---|
198 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Append element <code>a</code> to the end of the vector <code>v</code>. <a href="#aab89601ad40c671a4c4b3b5380ee6d4"></a><br></td></tr> |
---|
199 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
200 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#38fa2938842ee06b8f76c2e7d89ff6c7">itpp::concat</a> (Num_T a, const Vec< Num_T > &v)</td></tr> |
---|
201 | |
---|
202 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat element <code>a</code> to the beginning of the vector <code>v</code>. <a href="#38fa2938842ee06b8f76c2e7d89ff6c7"></a><br></td></tr> |
---|
203 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
204 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#63154a27d6f52a578424f5983eb841b6">itpp::concat</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2)</td></tr> |
---|
205 | |
---|
206 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat vectors <code>v1</code> and <code>v2</code>. <a href="#63154a27d6f52a578424f5983eb841b6"></a><br></td></tr> |
---|
207 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
208 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#0a5741df66feb342d3279dd5fc0476b8">itpp::concat</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3)</td></tr> |
---|
209 | |
---|
210 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat vectors <code>v1</code>, <code>v2</code> and <code>v3</code>. <a href="#0a5741df66feb342d3279dd5fc0476b8"></a><br></td></tr> |
---|
211 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
212 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#06279bd52f7e27b20a175dc1eaa4bf6a">itpp::concat</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4)</td></tr> |
---|
213 | |
---|
214 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat vectors <code>v1</code>, <code>v2</code>, <code>v3</code> and <code>v4</code>. <a href="#06279bd52f7e27b20a175dc1eaa4bf6a"></a><br></td></tr> |
---|
215 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
216 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">Vec< Num_T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#be98517854151e61c251882981336d0f">itpp::concat</a> (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4, const Vec< Num_T > &v5)</td></tr> |
---|
217 | |
---|
218 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat vectors <code>v1</code>, <code>v2</code> <code>v3</code>, <code>v4</code> and <code>v5</code>. <a href="#be98517854151e61c251882981336d0f"></a><br></td></tr> |
---|
219 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4106365bd7a6791091025ed3651de064"></a><!-- doxytag: member="vec.h::outer_product" ref="4106365bd7a6791091025ed3651de064" args="(const cvec &v1, const cvec &v2, bool hermitian)" --> |
---|
220 | template<> </td></tr> |
---|
221 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Mat.html#6fbac4b7184807da188e5b85d42f038b">cmat</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#4106365bd7a6791091025ed3651de064">itpp::outer_product</a> (const <a class="el" href="classitpp_1_1Vec.html#e83c1408740e41a7e29c383b71d4d544">cvec</a> &v1, const <a class="el" href="classitpp_1_1Vec.html#e83c1408740e41a7e29c383b71d4d544">cvec</a> &v2, bool hermitian)</td></tr> |
---|
222 | |
---|
223 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Outer product of two vectors v1 and v2. <br></td></tr> |
---|
224 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="2f7990b2711f2afef7056510a536032e"></a><!-- doxytag: member="vec.h::operator<<" ref="2f7990b2711f2afef7056510a536032e" args="(std::ostream &os, const Vec< Num_T > &v)" --> |
---|
225 | template<class Num_T > </td></tr> |
---|
226 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#2f7990b2711f2afef7056510a536032e">itpp::operator<<</a> (std::ostream &os, const Vec< Num_T > &v)</td></tr> |
---|
227 | |
---|
228 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Output stream operator of a vector <code>v</code>. <br></td></tr> |
---|
229 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="802b7e084cc97cede597ddeb49c745d8"></a><!-- doxytag: member="vec.h::operator>>" ref="802b7e084cc97cede597ddeb49c745d8" args="(std::istream &is, Vec< Num_T > &v)" --> |
---|
230 | template<class Num_T > </td></tr> |
---|
231 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::istream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceitpp.html#802b7e084cc97cede597ddeb49c745d8">itpp::operator>></a> (std::istream &is, Vec< Num_T > &v)</td></tr> |
---|
232 | |
---|
233 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Input stream operator to read a vector. <br></td></tr> |
---|
234 | </table> |
---|
235 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
236 | Templated Vector Class Definitions. |
---|
237 | <p> |
---|
238 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Tony Ottosson, Tobias Ringstrom, Adam Piatyszek and Conrad Sanderson</dd></dl> |
---|
239 | -------------------------------------------------------------------------<p> |
---|
240 | Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)<p> |
---|
241 | This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.<p> |
---|
242 | IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p> |
---|
243 | IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> |
---|
244 | You should have received a copy of the GNU General Public License along with IT++. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.<p> |
---|
245 | ------------------------------------------------------------------------- </div> |
---|
246 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by |
---|
247 | <a href="http://www.doxygen.org/index.html"> |
---|
248 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
249 | </body> |
---|
250 | </html> |
---|