[353] | 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: itpp::Vec< Num_T > Class Template 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 class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 57 | </ul> |
---|
| 58 | </div> |
---|
| 59 | <div class="tabs"> |
---|
| 60 | <ul> |
---|
| 61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
| 63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 65 | </ul> |
---|
| 66 | </div> |
---|
| 67 | <div class="navpath"><b>itpp</b>::<a class="el" href="classitpp_1_1Vec.html">Vec</a> |
---|
| 68 | </div> |
---|
| 69 | </div> |
---|
| 70 | <div class="contents"> |
---|
| 71 | <h1>itpp::Vec< Num_T > Class Template Reference<br> |
---|
| 72 | <small> |
---|
| 73 | [<a class="el" href="group__arr__vec__mat.html">Array, Vector and Matrix Classes</a>]</small> |
---|
| 74 | </h1><!-- doxytag: class="itpp::Vec" -->Vector Class (Templated). |
---|
| 75 | <a href="#_details">More...</a> |
---|
| 76 | <p> |
---|
| 77 | <code>#include <<a class="el" href="vec_8h-source.html">vec.h</a>></code> |
---|
| 78 | <p> |
---|
| 79 | |
---|
| 80 | <p> |
---|
| 81 | <a href="classitpp_1_1Vec-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 82 | <tr><td></td></tr> |
---|
| 83 | <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> |
---|
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32ac6e5ab589b9fee0dc5a2b8a16a16d"></a><!-- doxytag: member="itpp::Vec::value_type" ref="32ac6e5ab589b9fee0dc5a2b8a16a16d" args="" --> |
---|
| 85 | typedef Num_T </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#32ac6e5ab589b9fee0dc5a2b8a16a16d">value_type</a></td></tr> |
---|
| 86 | |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The type of the vector values. <br></td></tr> |
---|
| 88 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbeb7e010317f04f233194cc7f4f86e8"></a><!-- doxytag: member="itpp::Vec::Vec" ref="dbeb7e010317f04f233194cc7f4f86e8" args="(const Factory &f=DEFAULT_FACTORY)" --> |
---|
| 90 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dbeb7e010317f04f233194cc7f4f86e8">Vec</a> (const <a class="el" href="classitpp_1_1Factory.html">Factory</a> &f=DEFAULT_FACTORY)</td></tr> |
---|
| 91 | |
---|
| 92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. An element factory <code>f</code> can be specified. <br></td></tr> |
---|
| 93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b1ecfb9719691a246ba42c483e1691c"></a><!-- doxytag: member="itpp::Vec::Vec" ref="5b1ecfb9719691a246ba42c483e1691c" args="(int size, const Factory &f=DEFAULT_FACTORY)" --> |
---|
| 94 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#5b1ecfb9719691a246ba42c483e1691c">Vec</a> (int size, const <a class="el" href="classitpp_1_1Factory.html">Factory</a> &f=DEFAULT_FACTORY)</td></tr> |
---|
| 95 | |
---|
| 96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor with size parameter. An element factory <code>f</code> can be specified. <br></td></tr> |
---|
| 97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aac29b8bf4522b25b6ee784df54b3d6e"></a><!-- doxytag: member="itpp::Vec::Vec" ref="aac29b8bf4522b25b6ee784df54b3d6e" args="(const Vec< Num_T > &v)" --> |
---|
| 98 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#aac29b8bf4522b25b6ee784df54b3d6e">Vec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 99 | |
---|
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br></td></tr> |
---|
| 101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0ed8c0de0b328619ca4f1980b07a287"></a><!-- doxytag: member="itpp::Vec::Vec" ref="b0ed8c0de0b328619ca4f1980b07a287" args="(const Vec< Num_T > &v, const Factory &f)" --> |
---|
| 102 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b0ed8c0de0b328619ca4f1980b07a287">Vec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v, const <a class="el" href="classitpp_1_1Factory.html">Factory</a> &f)</td></tr> |
---|
| 103 | |
---|
| 104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor, which takes an element factory <code>f</code> as an additional argument. <br></td></tr> |
---|
| 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b76107b30308d47a60e8531587b27390"></a><!-- doxytag: member="itpp::Vec::Vec" ref="b76107b30308d47a60e8531587b27390" args="(const char *str, const Factory &f=DEFAULT_FACTORY)" --> |
---|
| 106 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b76107b30308d47a60e8531587b27390">Vec</a> (const char *str, const <a class="el" href="classitpp_1_1Factory.html">Factory</a> &f=DEFAULT_FACTORY)</td></tr> |
---|
| 107 | |
---|
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor taking a char string as input. An element factory <code>f</code> can be specified. <br></td></tr> |
---|
| 109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f30d39d1f171cd5681644b614d470834"></a><!-- doxytag: member="itpp::Vec::Vec" ref="f30d39d1f171cd5681644b614d470834" args="(const std::string &str, const Factory &f=DEFAULT_FACTORY)" --> |
---|
| 110 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f30d39d1f171cd5681644b614d470834">Vec</a> (const std::string &str, const <a class="el" href="classitpp_1_1Factory.html">Factory</a> &f=DEFAULT_FACTORY)</td></tr> |
---|
| 111 | |
---|
| 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor taking a string as input. An element factory <code>f</code> can be specified. <br></td></tr> |
---|
| 113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5bb98d6c96b3165ad31ca4db28d5914"></a><!-- doxytag: member="itpp::Vec::Vec" ref="e5bb98d6c96b3165ad31ca4db28d5914" args="(const Num_T *c_array, int size, const Factory &f=DEFAULT_FACTORY)" --> |
---|
| 114 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e5bb98d6c96b3165ad31ca4db28d5914">Vec</a> (const Num_T *c_array, int size, const <a class="el" href="classitpp_1_1Factory.html">Factory</a> &f=DEFAULT_FACTORY)</td></tr> |
---|
| 115 | |
---|
| 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor taking a C-array as input. Copies all data. An element factory <code>f</code> can be specified. <br></td></tr> |
---|
| 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a089822c2fdfb425358cd5e3230fb1a"></a><!-- doxytag: member="itpp::Vec::~Vec" ref="2a089822c2fdfb425358cd5e3230fb1a" args="()" --> |
---|
| 118 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2a089822c2fdfb425358cd5e3230fb1a">~Vec</a> ()</td></tr> |
---|
| 119 | |
---|
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
---|
| 121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44478ea086eda22a180102e77e352325"></a><!-- doxytag: member="itpp::Vec::length" ref="44478ea086eda22a180102e77e352325" args="() const " --> |
---|
| 122 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#44478ea086eda22a180102e77e352325">length</a> () const </td></tr> |
---|
| 123 | |
---|
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The size of the vector. <br></td></tr> |
---|
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a906c893cd6184a774e4da8a47217d6a"></a><!-- doxytag: member="itpp::Vec::size" ref="a906c893cd6184a774e4da8a47217d6a" args="() const " --> |
---|
| 126 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a906c893cd6184a774e4da8a47217d6a">size</a> () const </td></tr> |
---|
| 127 | |
---|
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The size of the vector. <br></td></tr> |
---|
| 129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4b02b7819e540bb3853c15e6480ada6"></a><!-- doxytag: member="itpp::Vec::set_size" ref="a4b02b7819e540bb3853c15e6480ada6" args="(int size, bool copy=false)" --> |
---|
| 130 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a4b02b7819e540bb3853c15e6480ada6">set_size</a> (int size, bool copy=false)</td></tr> |
---|
| 131 | |
---|
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set length of vector. if copy = true then keeping the old values. <br></td></tr> |
---|
| 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d56d0d3d9f354d2401638c273f8ae200"></a><!-- doxytag: member="itpp::Vec::set_length" ref="d56d0d3d9f354d2401638c273f8ae200" args="(int size, bool copy=false)" --> |
---|
| 134 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d56d0d3d9f354d2401638c273f8ae200">set_length</a> (int size, bool copy=false)</td></tr> |
---|
| 135 | |
---|
| 136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set length of vector. if copy = true then keeping the old values. <br></td></tr> |
---|
| 137 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9417f3236cf1fd84fc84a4d53a5e4c94"></a><!-- doxytag: member="itpp::Vec::zeros" ref="9417f3236cf1fd84fc84a4d53a5e4c94" args="()" --> |
---|
| 138 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9417f3236cf1fd84fc84a4d53a5e4c94">zeros</a> ()</td></tr> |
---|
| 139 | |
---|
| 140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the vector to the all zero vector. <br></td></tr> |
---|
| 141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f2f64c04ed8adb0d9be53e0266d875d"></a><!-- doxytag: member="itpp::Vec::clear" ref="6f2f64c04ed8adb0d9be53e0266d875d" args="()" --> |
---|
| 142 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#6f2f64c04ed8adb0d9be53e0266d875d">clear</a> ()</td></tr> |
---|
| 143 | |
---|
| 144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the vector to the all zero vector. <br></td></tr> |
---|
| 145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="986b9fa9587f49583b0642f8274bf402"></a><!-- doxytag: member="itpp::Vec::ones" ref="986b9fa9587f49583b0642f8274bf402" args="()" --> |
---|
| 146 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#986b9fa9587f49583b0642f8274bf402">ones</a> ()</td></tr> |
---|
| 147 | |
---|
| 148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the vector to the all one vector. <br></td></tr> |
---|
| 149 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g873fbb59421d9998f1822c4a9b60c544"></a><!-- doxytag: member="itpp::Vec::set" ref="g873fbb59421d9998f1822c4a9b60c544" args="(const char *str)" --> |
---|
| 150 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__fixed.html#g873fbb59421d9998f1822c4a9b60c544">set</a> (const char *str)</td></tr> |
---|
| 151 | |
---|
| 152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the vector equal to the values in the <code>str</code> string. <br></td></tr> |
---|
| 153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cae309c95c6a608a5f1b14e3e7940ead"></a><!-- doxytag: member="itpp::Vec::set" ref="cae309c95c6a608a5f1b14e3e7940ead" args="(const std::string &str)" --> |
---|
| 154 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#cae309c95c6a608a5f1b14e3e7940ead">set</a> (const std::string &str)</td></tr> |
---|
| 155 | |
---|
| 156 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the vector equal to the values in the <code>str</code> string. <br></td></tr> |
---|
| 157 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="685ddba16e5c3491e86ebe1f4936838a"></a><!-- doxytag: member="itpp::Vec::operator[]" ref="685ddba16e5c3491e86ebe1f4936838a" args="(int i) const " --> |
---|
| 158 | const Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#685ddba16e5c3491e86ebe1f4936838a">operator[]</a> (int i) const </td></tr> |
---|
| 159 | |
---|
| 160 | <tr><td class="mdescLeft"> </td><td class="mdescRight">C-style index operator. First element is 0. <br></td></tr> |
---|
| 161 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f72b8247fdfd9fc040a619caea51133a"></a><!-- doxytag: member="itpp::Vec::operator()" ref="f72b8247fdfd9fc040a619caea51133a" args="(int i) const " --> |
---|
| 162 | const Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f72b8247fdfd9fc040a619caea51133a">operator()</a> (int i) const </td></tr> |
---|
| 163 | |
---|
| 164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Index operator. First element is 0. <br></td></tr> |
---|
| 165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79567892fc50a7a9fe227ddd45b56ab5"></a><!-- doxytag: member="itpp::Vec::operator[]" ref="79567892fc50a7a9fe227ddd45b56ab5" args="(int i)" --> |
---|
| 166 | Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#79567892fc50a7a9fe227ddd45b56ab5">operator[]</a> (int i)</td></tr> |
---|
| 167 | |
---|
| 168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">C-style index operator. First element is 0. <br></td></tr> |
---|
| 169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e77546c294433f68956fd202be367809"></a><!-- doxytag: member="itpp::Vec::operator()" ref="e77546c294433f68956fd202be367809" args="(int i)" --> |
---|
| 170 | Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e77546c294433f68956fd202be367809">operator()</a> (int i)</td></tr> |
---|
| 171 | |
---|
| 172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Index operator. First element is 0. <br></td></tr> |
---|
| 173 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfe717e5571b6b7087726601365935ad"></a><!-- doxytag: member="itpp::Vec::operator()" ref="cfe717e5571b6b7087726601365935ad" args="(int i1, int i2) const " --> |
---|
| 174 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#cfe717e5571b6b7087726601365935ad">operator()</a> (int i1, int i2) const </td></tr> |
---|
| 175 | |
---|
| 176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sub-vector with elements from <code>i1</code> to <code>i2</code>. Index -1 indicates the last element. <br></td></tr> |
---|
| 177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="94532e7bd1ec4c83e8b4b5e34f17db68"></a><!-- doxytag: member="itpp::Vec::operator()" ref="94532e7bd1ec4c83e8b4b5e34f17db68" args="(const Vec< int > &indexlist) const " --> |
---|
| 178 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#94532e7bd1ec4c83e8b4b5e34f17db68">operator()</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< int > &indexlist) const </td></tr> |
---|
| 179 | |
---|
| 180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sub-vector with elements given by the list of indices <code>indexlist</code>. <br></td></tr> |
---|
| 181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52a13718c9549ad6a95d8002ce9ea865"></a><!-- doxytag: member="itpp::Vec::operator()" ref="52a13718c9549ad6a95d8002ce9ea865" args="(const Vec< bin > &binlist) const " --> |
---|
| 182 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#52a13718c9549ad6a95d8002ce9ea865">operator()</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > &binlist) const </td></tr> |
---|
| 183 | |
---|
| 184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sub-vector with elements with indexes where <code>binlist</code> is <code>1</code>. <br></td></tr> |
---|
| 185 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7bcdbdf6dd2b07c1f80f1c283871f7ef"></a><!-- doxytag: member="itpp::Vec::get" ref="7bcdbdf6dd2b07c1f80f1c283871f7ef" args="(int i) const " --> |
---|
| 186 | const Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7bcdbdf6dd2b07c1f80f1c283871f7ef">get</a> (int i) const </td></tr> |
---|
| 187 | |
---|
| 188 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accessor-style method. First element is 0. <br></td></tr> |
---|
| 189 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37f5315c3e347e4de19c7de2deae99b9"></a><!-- doxytag: member="itpp::Vec::get" ref="37f5315c3e347e4de19c7de2deae99b9" args="(int i1, int i2) const " --> |
---|
| 190 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#37f5315c3e347e4de19c7de2deae99b9">get</a> (int i1, int i2) const </td></tr> |
---|
| 191 | |
---|
| 192 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the elements from <code>i1</code> to <code>i2</code>. Index -1 indicates the last element. <br></td></tr> |
---|
| 193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c8bc77c1c3e9e6f87976e41e5808793"></a><!-- doxytag: member="itpp::Vec::get" ref="9c8bc77c1c3e9e6f87976e41e5808793" args="(const Vec< int > &indexlist) const " --> |
---|
| 194 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9c8bc77c1c3e9e6f87976e41e5808793">get</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< int > &indexlist) const </td></tr> |
---|
| 195 | |
---|
| 196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the elements given by the list of indices <code>indexlist</code>. <br></td></tr> |
---|
| 197 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9e7deaa25415505e9bef058684cd0553"></a><!-- doxytag: member="itpp::Vec::get" ref="9e7deaa25415505e9bef058684cd0553" args="(const Vec< bin > &binlist) const " --> |
---|
| 198 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9e7deaa25415505e9bef058684cd0553">get</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > &binlist) const </td></tr> |
---|
| 199 | |
---|
| 200 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the elements with indexes where <code>binlist</code> is <code>1</code>. <br></td></tr> |
---|
| 201 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e04190f557a10cadfcf4517b69396343"></a><!-- doxytag: member="itpp::Vec::set" ref="e04190f557a10cadfcf4517b69396343" args="(int i, Num_T t)" --> |
---|
| 202 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e04190f557a10cadfcf4517b69396343">set</a> (int i, Num_T t)</td></tr> |
---|
| 203 | |
---|
| 204 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Modifier-style method. First element is 0. <br></td></tr> |
---|
| 205 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="857c285af9253ec06c8564e65fd77ef3"></a><!-- doxytag: member="itpp::Vec::transpose" ref="857c285af9253ec06c8564e65fd77ef3" args="() const " --> |
---|
| 206 | <a class="el" href="classitpp_1_1Mat.html">Mat</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#857c285af9253ec06c8564e65fd77ef3">transpose</a> () const </td></tr> |
---|
| 207 | |
---|
| 208 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix transpose. Converts to a matrix with the vector in the first row. <br></td></tr> |
---|
| 209 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9931ef6889bfd119946a3af4740f0cc9"></a><!-- doxytag: member="itpp::Vec::T" ref="9931ef6889bfd119946a3af4740f0cc9" args="() const " --> |
---|
| 210 | <a class="el" href="classitpp_1_1Mat.html">Mat</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9931ef6889bfd119946a3af4740f0cc9">T</a> () const </td></tr> |
---|
| 211 | |
---|
| 212 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix transpose. Converts to a matrix with the vector in the first row. <br></td></tr> |
---|
| 213 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30d89fa7d5154d86bbef179b494486aa"></a><!-- doxytag: member="itpp::Vec::hermitian_transpose" ref="30d89fa7d5154d86bbef179b494486aa" args="() const " --> |
---|
| 214 | <a class="el" href="classitpp_1_1Mat.html">Mat</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#30d89fa7d5154d86bbef179b494486aa">hermitian_transpose</a> () const </td></tr> |
---|
| 215 | |
---|
| 216 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Hermitian matrix transpose. Converts to a matrix with the conjugate of the vector in the first row. <br></td></tr> |
---|
| 217 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40b8a04e17699e912f8a4f228e61882b"></a><!-- doxytag: member="itpp::Vec::H" ref="40b8a04e17699e912f8a4f228e61882b" args="() const " --> |
---|
| 218 | <a class="el" href="classitpp_1_1Mat.html">Mat</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#40b8a04e17699e912f8a4f228e61882b">H</a> () const </td></tr> |
---|
| 219 | |
---|
| 220 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Hermitian matrix transpose. Converts to a matrix with the conjugate of the vector in the first row. <br></td></tr> |
---|
| 221 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1db706ae383fffbe30603607d7cc3d67"></a><!-- doxytag: member="itpp::Vec::operator+=" ref="1db706ae383fffbe30603607d7cc3d67" args="(const Vec< Num_T > &v)" --> |
---|
| 222 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#1db706ae383fffbe30603607d7cc3d67">operator+=</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 223 | |
---|
| 224 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of vector. <br></td></tr> |
---|
| 225 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="04a92f105947dbec7b10b2acd9045947"></a><!-- doxytag: member="itpp::Vec::operator+=" ref="04a92f105947dbec7b10b2acd9045947" args="(Num_T t)" --> |
---|
| 226 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#04a92f105947dbec7b10b2acd9045947">operator+=</a> (Num_T t)</td></tr> |
---|
| 227 | |
---|
| 228 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of scalar. <br></td></tr> |
---|
| 229 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c650d590f18e06e127379058b80cf975"></a><!-- doxytag: member="itpp::Vec::operator-=" ref="c650d590f18e06e127379058b80cf975" args="(const Vec< Num_T > &v)" --> |
---|
| 230 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c650d590f18e06e127379058b80cf975">operator-=</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 231 | |
---|
| 232 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of vector. <br></td></tr> |
---|
| 233 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ebcc5c9405fc91afbc7695fd9957861e"></a><!-- doxytag: member="itpp::Vec::operator-=" ref="ebcc5c9405fc91afbc7695fd9957861e" args="(Num_T t)" --> |
---|
| 234 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#ebcc5c9405fc91afbc7695fd9957861e">operator-=</a> (Num_T t)</td></tr> |
---|
| 235 | |
---|
| 236 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of scalar. <br></td></tr> |
---|
| 237 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59ca8fd1b6b93a4012904b2877ef5a6d"></a><!-- doxytag: member="itpp::Vec::operator*=" ref="59ca8fd1b6b93a4012904b2877ef5a6d" args="(Num_T t)" --> |
---|
| 238 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#59ca8fd1b6b93a4012904b2877ef5a6d">operator*=</a> (Num_T t)</td></tr> |
---|
| 239 | |
---|
| 240 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiply with a scalar. <br></td></tr> |
---|
| 241 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2291516d136c938936c957948314c954"></a><!-- doxytag: member="itpp::Vec::operator/=" ref="2291516d136c938936c957948314c954" args="(Num_T t)" --> |
---|
| 242 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2291516d136c938936c957948314c954">operator/=</a> (Num_T t)</td></tr> |
---|
| 243 | |
---|
| 244 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division. <br></td></tr> |
---|
| 245 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbeb593fcfa956ebff77e49d00bdf4b4"></a><!-- doxytag: member="itpp::Vec::operator/=" ref="dbeb593fcfa956ebff77e49d00bdf4b4" args="(const Vec< Num_T > &v)" --> |
---|
| 246 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dbeb593fcfa956ebff77e49d00bdf4b4">operator/=</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 247 | |
---|
| 248 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division. <br></td></tr> |
---|
| 249 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e134864ce9e73858efd329ab7183cace"></a><!-- doxytag: member="itpp::Vec::right" ref="e134864ce9e73858efd329ab7183cace" args="(int nr) const " --> |
---|
| 250 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e134864ce9e73858efd329ab7183cace">right</a> (int nr) const </td></tr> |
---|
| 251 | |
---|
| 252 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the right <code>nr</code> elements from the vector. <br></td></tr> |
---|
| 253 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97e621d2f0f4a3a94e2af115a93caccb"></a><!-- doxytag: member="itpp::Vec::left" ref="97e621d2f0f4a3a94e2af115a93caccb" args="(int nr) const " --> |
---|
| 254 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#97e621d2f0f4a3a94e2af115a93caccb">left</a> (int nr) const </td></tr> |
---|
| 255 | |
---|
| 256 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the left <code>nr</code> elements from the vector. <br></td></tr> |
---|
| 257 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a5569b0b51c771b4fe3084e12b29958"></a><!-- doxytag: member="itpp::Vec::mid" ref="3a5569b0b51c771b4fe3084e12b29958" args="(int start, int nr) const " --> |
---|
| 258 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#3a5569b0b51c771b4fe3084e12b29958">mid</a> (int start, int nr) const </td></tr> |
---|
| 259 | |
---|
| 260 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the middle part of vector from <code>start</code> including <code>nr</code> elements. <br></td></tr> |
---|
| 261 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a32b5e3559e438675d43ee0c76691c5a">split</a> (int pos)</td></tr> |
---|
| 262 | |
---|
| 263 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Split the vector into two parts at element <code>pos</code>. <a href="#a32b5e3559e438675d43ee0c76691c5a"></a><br></td></tr> |
---|
| 264 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46249a5dc121bd269b658b443e602db6"></a><!-- doxytag: member="itpp::Vec::shift_right" ref="46249a5dc121bd269b658b443e602db6" args="(Num_T t, int n=1)" --> |
---|
| 265 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#46249a5dc121bd269b658b443e602db6">shift_right</a> (Num_T t, int n=1)</td></tr> |
---|
| 266 | |
---|
| 267 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shift in element <code>t</code> at position 0 <code>n</code> times. <br></td></tr> |
---|
| 268 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="980fe561c5b81c16b1e31d502e3c7b74"></a><!-- doxytag: member="itpp::Vec::shift_right" ref="980fe561c5b81c16b1e31d502e3c7b74" args="(const Vec< Num_T > &v)" --> |
---|
| 269 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#980fe561c5b81c16b1e31d502e3c7b74">shift_right</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 270 | |
---|
| 271 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shift in vector <code>v</code> at position 0. <br></td></tr> |
---|
| 272 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15b6bdf6a378447beb5da425fa48e6a3"></a><!-- doxytag: member="itpp::Vec::shift_left" ref="15b6bdf6a378447beb5da425fa48e6a3" args="(Num_T t, int n=1)" --> |
---|
| 273 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#15b6bdf6a378447beb5da425fa48e6a3">shift_left</a> (Num_T t, int n=1)</td></tr> |
---|
| 274 | |
---|
| 275 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shift out the <code>n</code> left elements and at the same time shift in the element <code>t</code> at last position <code>n</code> times. <br></td></tr> |
---|
| 276 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="54beac554352deb9994d192426b7a7a2"></a><!-- doxytag: member="itpp::Vec::shift_left" ref="54beac554352deb9994d192426b7a7a2" args="(const Vec< Num_T > &v)" --> |
---|
| 277 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#54beac554352deb9994d192426b7a7a2">shift_left</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 278 | |
---|
| 279 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shift in vector <code>v</code> at last positions. <br></td></tr> |
---|
| 280 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc812b3402a3d8d76ac670818cda5dc9"></a><!-- doxytag: member="itpp::Vec::set_subvector" ref="fc812b3402a3d8d76ac670818cda5dc9" args="(int i1, int i2, const Vec< Num_T > &v)" --> |
---|
| 281 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fc812b3402a3d8d76ac670818cda5dc9">set_subvector</a> (int i1, int i2, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 282 | |
---|
| 283 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This function is deprecated. Please use set_subvector(i, v) instead. <br></td></tr> |
---|
| 284 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8735a8f7777fa1e060e6ef82c2e8d928"></a><!-- doxytag: member="itpp::Vec::set_subvector" ref="8735a8f7777fa1e060e6ef82c2e8d928" args="(int i, const Vec< Num_T > &v)" --> |
---|
| 285 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8735a8f7777fa1e060e6ef82c2e8d928">set_subvector</a> (int i, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 286 | |
---|
| 287 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set subvector to elements of vector <code>v</code> starting from element <code>i</code>. <br></td></tr> |
---|
| 288 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dfac03215527ee9cc0859f449e16c911"></a><!-- doxytag: member="itpp::Vec::set_subvector" ref="dfac03215527ee9cc0859f449e16c911" args="(int i1, int i2, Num_T t)" --> |
---|
| 289 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dfac03215527ee9cc0859f449e16c911">set_subvector</a> (int i1, int i2, Num_T t)</td></tr> |
---|
| 290 | |
---|
| 291 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set subvector defined by indices <code>i1</code> and <code>i2</code> to <code>t</code>. <br></td></tr> |
---|
| 292 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67b624bbf706274e6c58ad402fb50cd1"></a><!-- doxytag: member="itpp::Vec::replace_mid" ref="67b624bbf706274e6c58ad402fb50cd1" args="(int i, const Vec< Num_T > &v)" --> |
---|
| 293 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#67b624bbf706274e6c58ad402fb50cd1">replace_mid</a> (int i, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 294 | |
---|
| 295 | <tr><td class="mdescLeft"> </td><td class="mdescRight">An alias function of set_subvector(i, &v). <br></td></tr> |
---|
| 296 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23d8bb89a3ceb8a7e0b9f08af5eae067"></a><!-- doxytag: member="itpp::Vec::del" ref="23d8bb89a3ceb8a7e0b9f08af5eae067" args="(int i)" --> |
---|
| 297 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#23d8bb89a3ceb8a7e0b9f08af5eae067">del</a> (int i)</td></tr> |
---|
| 298 | |
---|
| 299 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete element number <code>i</code>. <br></td></tr> |
---|
| 300 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="66d4ea59aa3965c3b5f0d98b049145a7"></a><!-- doxytag: member="itpp::Vec::del" ref="66d4ea59aa3965c3b5f0d98b049145a7" args="(int i1, int i2)" --> |
---|
| 301 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#66d4ea59aa3965c3b5f0d98b049145a7">del</a> (int i1, int i2)</td></tr> |
---|
| 302 | |
---|
| 303 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete elements from <code>i1</code> to <code>i2</code>. <br></td></tr> |
---|
| 304 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a70790fbb74e2350b19b96798edc7be"></a><!-- doxytag: member="itpp::Vec::ins" ref="2a70790fbb74e2350b19b96798edc7be" args="(int i, Num_T t)" --> |
---|
| 305 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2a70790fbb74e2350b19b96798edc7be">ins</a> (int i, Num_T t)</td></tr> |
---|
| 306 | |
---|
| 307 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert element <code>t</code> before element with index <code>i</code> (0 <= i <= datasize). <br></td></tr> |
---|
| 308 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2dfa9bbfbdffa2f40d250d7e79a21616"></a><!-- doxytag: member="itpp::Vec::ins" ref="2dfa9bbfbdffa2f40d250d7e79a21616" args="(int i, const Vec< Num_T > &v)" --> |
---|
| 309 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2dfa9bbfbdffa2f40d250d7e79a21616">ins</a> (int i, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 310 | |
---|
| 311 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert vector <code>v</code> before element with index <code>i</code> (0 <= i <= datasize). <br></td></tr> |
---|
| 312 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0693baca1bbbc6228c369050cce12ac9"></a><!-- doxytag: member="itpp::Vec::operator=" ref="0693baca1bbbc6228c369050cce12ac9" args="(Num_T t)" --> |
---|
| 313 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0693baca1bbbc6228c369050cce12ac9">operator=</a> (Num_T t)</td></tr> |
---|
| 314 | |
---|
| 315 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign all elements in vector to <code>t</code>. <br></td></tr> |
---|
| 316 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8cb3f985dc16a62f64e660580bef8949"></a><!-- doxytag: member="itpp::Vec::operator=" ref="8cb3f985dc16a62f64e660580bef8949" args="(const Vec< Num_T > &v)" --> |
---|
| 317 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8cb3f985dc16a62f64e660580bef8949">operator=</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 318 | |
---|
| 319 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign vector the value and length of <code>v</code>. <br></td></tr> |
---|
| 320 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6650eaac24b70a3be705b2bf2ee830ee"></a><!-- doxytag: member="itpp::Vec::operator=" ref="6650eaac24b70a3be705b2bf2ee830ee" args="(const Mat< Num_T > &m)" --> |
---|
| 321 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#6650eaac24b70a3be705b2bf2ee830ee">operator=</a> (const <a class="el" href="classitpp_1_1Mat.html">Mat</a>< Num_T > &m)</td></tr> |
---|
| 322 | |
---|
| 323 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign vector equal to the 1-dimensional matrix <code>m</code>. <br></td></tr> |
---|
| 324 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0318758ae6752d3d31307da453813886"></a><!-- doxytag: member="itpp::Vec::operator=" ref="0318758ae6752d3d31307da453813886" args="(const char *str)" --> |
---|
| 325 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0318758ae6752d3d31307da453813886">operator=</a> (const char *str)</td></tr> |
---|
| 326 | |
---|
| 327 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign vector the values in the string <code>str</code>. <br></td></tr> |
---|
| 328 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2289733bd7672857fa8d26b9ad4cf6f9"></a><!-- doxytag: member="itpp::Vec::operator=" ref="2289733bd7672857fa8d26b9ad4cf6f9" args="(const std::string &str)" --> |
---|
| 329 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2289733bd7672857fa8d26b9ad4cf6f9">operator=</a> (const std::string &str)</td></tr> |
---|
| 330 | |
---|
| 331 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign vector the values in the string <code>str</code>. <br></td></tr> |
---|
| 332 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e050824527b53698ac08dfb6c3e547a"></a><!-- doxytag: member="itpp::Vec::operator==" ref="1e050824527b53698ac08dfb6c3e547a" args="(Num_T t) const " --> |
---|
| 333 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#1e050824527b53698ac08dfb6c3e547a">operator==</a> (Num_T t) const </td></tr> |
---|
| 334 | |
---|
| 335 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise equal to the scalar <code>t</code>. <br></td></tr> |
---|
| 336 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="545f81934fb4dbf387123e1257721368"></a><!-- doxytag: member="itpp::Vec::operator!=" ref="545f81934fb4dbf387123e1257721368" args="(Num_T t) const " --> |
---|
| 337 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#545f81934fb4dbf387123e1257721368">operator!=</a> (Num_T t) const </td></tr> |
---|
| 338 | |
---|
| 339 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise not-equal to the scalar <code>t</code>. <br></td></tr> |
---|
| 340 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9d3e7caa3c563d6ea2f95d7dca14baf"></a><!-- doxytag: member="itpp::Vec::operator<" ref="c9d3e7caa3c563d6ea2f95d7dca14baf" args="(Num_T t) const " --> |
---|
| 341 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c9d3e7caa3c563d6ea2f95d7dca14baf">operator<</a> (Num_T t) const </td></tr> |
---|
| 342 | |
---|
| 343 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise less than the scalar <code>t</code>. <br></td></tr> |
---|
| 344 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3621d49405b93e265f0a88398b20990b"></a><!-- doxytag: member="itpp::Vec::operator<=" ref="3621d49405b93e265f0a88398b20990b" args="(Num_T t) const " --> |
---|
| 345 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#3621d49405b93e265f0a88398b20990b">operator<=</a> (Num_T t) const </td></tr> |
---|
| 346 | |
---|
| 347 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise less than and equal to the scalar <code>t</code>. <br></td></tr> |
---|
| 348 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75a62cd38bc97da1a0ef1fd6efa142d9"></a><!-- doxytag: member="itpp::Vec::operator>" ref="75a62cd38bc97da1a0ef1fd6efa142d9" args="(Num_T t) const " --> |
---|
| 349 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#75a62cd38bc97da1a0ef1fd6efa142d9">operator></a> (Num_T t) const </td></tr> |
---|
| 350 | |
---|
| 351 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise greater than the scalar <code>t</code>. <br></td></tr> |
---|
| 352 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bfdfca669f046d232780712b060664ef"></a><!-- doxytag: member="itpp::Vec::operator>=" ref="bfdfca669f046d232780712b060664ef" args="(Num_T t) const " --> |
---|
| 353 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#bfdfca669f046d232780712b060664ef">operator>=</a> (Num_T t) const </td></tr> |
---|
| 354 | |
---|
| 355 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise greater than and equal to the scalar <code>t</code>. <br></td></tr> |
---|
| 356 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3a2d1d4fa2075eb830fa83567a2e49e"></a><!-- doxytag: member="itpp::Vec::operator==" ref="c3a2d1d4fa2075eb830fa83567a2e49e" args="(const Vec< Num_T > &v) const " --> |
---|
| 357 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c3a2d1d4fa2075eb830fa83567a2e49e">operator==</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v) const </td></tr> |
---|
| 358 | |
---|
| 359 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare with vector <code>v</code>. Return false if sizes or values differ. <br></td></tr> |
---|
| 360 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="111d7e24ac4ce480ac5bfa329296cdf3"></a><!-- doxytag: member="itpp::Vec::operator!=" ref="111d7e24ac4ce480ac5bfa329296cdf3" args="(const Vec< Num_T > &v) const " --> |
---|
| 361 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#111d7e24ac4ce480ac5bfa329296cdf3">operator!=</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v) const </td></tr> |
---|
| 362 | |
---|
| 363 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare with vector <code>v</code>. Return true if sizes or values differ. <br></td></tr> |
---|
| 364 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5921e64c133c0bfa60c1fd41aa151b0"></a><!-- doxytag: member="itpp::Vec::_elem" ref="e5921e64c133c0bfa60c1fd41aa151b0" args="(int i)" --> |
---|
| 365 | Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e5921e64c133c0bfa60c1fd41aa151b0">_elem</a> (int i)</td></tr> |
---|
| 366 | |
---|
| 367 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Index operator without boundary check. Not recommended for use. <br></td></tr> |
---|
| 368 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17f3d2ec7b2796e7d093edf7b67b7bb7"></a><!-- doxytag: member="itpp::Vec::_elem" ref="17f3d2ec7b2796e7d093edf7b67b7bb7" args="(int i) const " --> |
---|
| 369 | const Num_T & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#17f3d2ec7b2796e7d093edf7b67b7bb7">_elem</a> (int i) const </td></tr> |
---|
| 370 | |
---|
| 371 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Index operator without boundary check. Not recommended for use. <br></td></tr> |
---|
| 372 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b467e00509668d5f812431dfa17cc2b6"></a><!-- doxytag: member="itpp::Vec::_data" ref="b467e00509668d5f812431dfa17cc2b6" args="()" --> |
---|
| 373 | Num_T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b467e00509668d5f812431dfa17cc2b6">_data</a> ()</td></tr> |
---|
| 374 | |
---|
| 375 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the pointer to the internal structure. Not recommended for use. <br></td></tr> |
---|
| 376 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="800a45069e22110c440b73defd82ea0a"></a><!-- doxytag: member="itpp::Vec::_data" ref="800a45069e22110c440b73defd82ea0a" args="() const " --> |
---|
| 377 | const Num_T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#800a45069e22110c440b73defd82ea0a">_data</a> () const </td></tr> |
---|
| 378 | |
---|
| 379 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the pointer to the internal structure. Not recommended for use. <br></td></tr> |
---|
| 380 | <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 381 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4bb88e1449b76782493f7cb2abd8a00"></a><!-- doxytag: member="itpp::Vec::alloc" ref="d4bb88e1449b76782493f7cb2abd8a00" args="(int size)" --> |
---|
| 382 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d4bb88e1449b76782493f7cb2abd8a00">alloc</a> (int size)</td></tr> |
---|
| 383 | |
---|
| 384 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Allocate storage for a vector of length <code>size</code>. <br></td></tr> |
---|
| 385 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4daba4c136867e325fea2c68067ea35c"></a><!-- doxytag: member="itpp::Vec::free" ref="4daba4c136867e325fea2c68067ea35c" args="()" --> |
---|
| 386 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#4daba4c136867e325fea2c68067ea35c">free</a> ()</td></tr> |
---|
| 387 | |
---|
| 388 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Free the storage space allocated by the vector. <br></td></tr> |
---|
| 389 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 390 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="180ba106926488875eb1736acc915c07"></a><!-- doxytag: member="itpp::Vec::datasize" ref="180ba106926488875eb1736acc915c07" args="" --> |
---|
| 391 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#180ba106926488875eb1736acc915c07">datasize</a></td></tr> |
---|
| 392 | |
---|
| 393 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The current number of elements in the vector. <br></td></tr> |
---|
| 394 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6a4144a82cbf195a37f6ca2eb4c1f5f8"></a><!-- doxytag: member="itpp::Vec::data" ref="6a4144a82cbf195a37f6ca2eb4c1f5f8" args="" --> |
---|
| 395 | Num_T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#6a4144a82cbf195a37f6ca2eb4c1f5f8">data</a></td></tr> |
---|
| 396 | |
---|
| 397 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A pointer to the data area. <br></td></tr> |
---|
| 398 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c14096c4b5de87349057bf68c3da0a6d"></a><!-- doxytag: member="itpp::Vec::factory" ref="c14096c4b5de87349057bf68c3da0a6d" args="" --> |
---|
| 399 | const <a class="el" href="classitpp_1_1Factory.html">Factory</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c14096c4b5de87349057bf68c3da0a6d">factory</a></td></tr> |
---|
| 400 | |
---|
| 401 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Element factory (set to DEFAULT_FACTORY to use Num_T default constructors only). <br></td></tr> |
---|
| 402 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
| 403 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90bff9243b766146ad6085e122755189"></a><!-- doxytag: member="itpp::Vec::operator+" ref="90bff9243b766146ad6085e122755189" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
| 404 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#90bff9243b766146ad6085e122755189">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2)</td></tr> |
---|
| 405 | |
---|
| 406 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of two vectors. <br></td></tr> |
---|
| 407 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ca27a547c182b2cfb1a0d838792f8f0"></a><!-- doxytag: member="itpp::Vec::operator+" ref="7ca27a547c182b2cfb1a0d838792f8f0" args="(const Vec< Num_T > &v, Num_T t)" --> |
---|
| 408 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7ca27a547c182b2cfb1a0d838792f8f0">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v, Num_T t)</td></tr> |
---|
| 409 | |
---|
| 410 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of a vector and a scalar. <br></td></tr> |
---|
| 411 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e640ecb2f7578dbac9ac3482f0ce0b08"></a><!-- doxytag: member="itpp::Vec::operator+" ref="e640ecb2f7578dbac9ac3482f0ce0b08" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
| 412 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e640ecb2f7578dbac9ac3482f0ce0b08">operator+</a> (Num_T t, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 413 | |
---|
| 414 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of a scalar and a vector. <br></td></tr> |
---|
| 415 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="545be49385ab2c301803e9baac6895f6"></a><!-- doxytag: member="itpp::Vec::operator-" ref="545be49385ab2c301803e9baac6895f6" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
| 416 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#545be49385ab2c301803e9baac6895f6">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2)</td></tr> |
---|
| 417 | |
---|
| 418 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of <code>v2</code> from <code>v1</code>. <br></td></tr> |
---|
| 419 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fca65bb0fc443cf7dc59e806a8c39878"></a><!-- doxytag: member="itpp::Vec::operator-" ref="fca65bb0fc443cf7dc59e806a8c39878" args="(const Vec< Num_T > &v, Num_T t)" --> |
---|
| 420 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fca65bb0fc443cf7dc59e806a8c39878">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v, Num_T t)</td></tr> |
---|
| 421 | |
---|
| 422 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of scalar from vector. <br></td></tr> |
---|
| 423 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="493d73a6f1ce74a1ebac520f5d789d4a"></a><!-- doxytag: member="itpp::Vec::operator-" ref="493d73a6f1ce74a1ebac520f5d789d4a" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
| 424 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#493d73a6f1ce74a1ebac520f5d789d4a">operator-</a> (Num_T t, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 425 | |
---|
| 426 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction of vector from scalar. <br></td></tr> |
---|
| 427 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7acacbf661e45fc339ede855c3bec8e6"></a><!-- doxytag: member="itpp::Vec::operator-" ref="7acacbf661e45fc339ede855c3bec8e6" args="(const Vec< Num_T > &v)" --> |
---|
| 428 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7acacbf661e45fc339ede855c3bec8e6">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 429 | |
---|
| 430 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Negation of vector. <br></td></tr> |
---|
| 431 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c46cd8f3cf17c6dffa64e4310e90060"></a><!-- doxytag: member="itpp::Vec::operator*" ref="9c46cd8f3cf17c6dffa64e4310e90060" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
| 432 | Num_T </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9c46cd8f3cf17c6dffa64e4310e90060">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2)</td></tr> |
---|
| 433 | |
---|
| 434 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inner (dot) product. <br></td></tr> |
---|
| 435 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3494e36f998825a7627ae4786188e45f"></a><!-- doxytag: member="itpp::Vec::dot" ref="3494e36f998825a7627ae4786188e45f" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
| 436 | Num_T </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#3494e36f998825a7627ae4786188e45f">dot</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2)</td></tr> |
---|
| 437 | |
---|
| 438 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Inner (dot) product. <br></td></tr> |
---|
| 439 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Mat.html">Mat</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0388790e26b74aaf29b5efa78a0ac50b">outer_product</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2, bool hermitian)</td></tr> |
---|
| 440 | |
---|
| 441 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Outer product of two vectors v1 and v2. <a href="#0388790e26b74aaf29b5efa78a0ac50b"></a><br></td></tr> |
---|
| 442 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c31900c8b5edf570da5697b29ac0b47"></a><!-- doxytag: member="itpp::Vec::operator*" ref="5c31900c8b5edf570da5697b29ac0b47" args="(const Vec< Num_T > &v, Num_T t)" --> |
---|
| 443 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#5c31900c8b5edf570da5697b29ac0b47">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v, Num_T t)</td></tr> |
---|
| 444 | |
---|
| 445 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication of vector and scalar. <br></td></tr> |
---|
| 446 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a57cbf5bd6188741932b9f9579ef8535"></a><!-- doxytag: member="itpp::Vec::operator*" ref="a57cbf5bd6188741932b9f9579ef8535" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
| 447 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a57cbf5bd6188741932b9f9579ef8535">operator*</a> (Num_T t, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 448 | |
---|
| 449 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication of vector and scalar. <br></td></tr> |
---|
| 450 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc577247bfe8021fe5f2e9f1f70ed08b"></a><!-- doxytag: member="itpp::Vec::elem_mult" ref="fc577247bfe8021fe5f2e9f1f70ed08b" args="(const Vec< Num_T > &a, const Vec< Num_T > &b)" --> |
---|
| 451 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fc577247bfe8021fe5f2e9f1f70ed08b">elem_mult</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b)</td></tr> |
---|
| 452 | |
---|
| 453 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication. <br></td></tr> |
---|
| 454 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5553d331cd03d5b06728cbfbed4f67db"></a><!-- doxytag: member="itpp::Vec::elem_mult" ref="5553d331cd03d5b06728cbfbed4f67db" args="(const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c)" --> |
---|
| 455 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#5553d331cd03d5b06728cbfbed4f67db">elem_mult</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &c)</td></tr> |
---|
| 456 | |
---|
| 457 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication of three vectors. <br></td></tr> |
---|
| 458 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f58e2a36b497faa1ace4906e3306c4d"></a><!-- doxytag: member="itpp::Vec::elem_mult" ref="4f58e2a36b497faa1ace4906e3306c4d" args="(const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, const Vec< Num_T > &d)" --> |
---|
| 459 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#4f58e2a36b497faa1ace4906e3306c4d">elem_mult</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &c, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &d)</td></tr> |
---|
| 460 | |
---|
| 461 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication of four vectors. <br></td></tr> |
---|
| 462 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="620b2f6512fc5c845e5bac4ec511f61f"></a><!-- doxytag: member="itpp::Vec::elem_mult_out" ref="620b2f6512fc5c845e5bac4ec511f61f" args="(const Vec< Num_T > &a, const Vec< Num_T > &b, Vec< Num_T > &out)" --> |
---|
| 463 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#620b2f6512fc5c845e5bac4ec511f61f">elem_mult_out</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b, <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &out)</td></tr> |
---|
| 464 | |
---|
| 465 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication, storing the result in vector <code>out</code>. <br></td></tr> |
---|
| 466 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc725ce415f25551da34889a67e985e1"></a><!-- doxytag: member="itpp::Vec::elem_mult_out" ref="dc725ce415f25551da34889a67e985e1" args="(const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, Vec< Num_T > &out)" --> |
---|
| 467 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dc725ce415f25551da34889a67e985e1">elem_mult_out</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &c, <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &out)</td></tr> |
---|
| 468 | |
---|
| 469 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication of three vectors, storing the result in vector <code>out</code>. <br></td></tr> |
---|
| 470 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="11c614f307f1803ce37b1c1ba008959f"></a><!-- doxytag: member="itpp::Vec::elem_mult_out" ref="11c614f307f1803ce37b1c1ba008959f" args="(const Vec< Num_T > &a, const Vec< Num_T > &b, const Vec< Num_T > &c, const Vec< Num_T > &d, Vec< Num_T > &out)" --> |
---|
| 471 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#11c614f307f1803ce37b1c1ba008959f">elem_mult_out</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &c, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &d, <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &out)</td></tr> |
---|
| 472 | |
---|
| 473 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise multiplication of four vectors, storing the result in vector <code>out</code>. <br></td></tr> |
---|
| 474 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1f3416c6552a85a8f1e3fa61fb6bb22"></a><!-- doxytag: member="itpp::Vec::elem_mult_inplace" ref="b1f3416c6552a85a8f1e3fa61fb6bb22" args="(const Vec< Num_T > &a, Vec< Num_T > &b)" --> |
---|
| 475 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b1f3416c6552a85a8f1e3fa61fb6bb22">elem_mult_inplace</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b)</td></tr> |
---|
| 476 | |
---|
| 477 | <tr><td class="mdescLeft"> </td><td class="mdescRight">In-place element-wise multiplication of two vectors. Fast version of b = elem_mult(a,b). <br></td></tr> |
---|
| 478 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="afe2f1e484c6ab4a143cce82594c8489"></a><!-- doxytag: member="itpp::Vec::elem_mult_sum" ref="afe2f1e484c6ab4a143cce82594c8489" args="(const Vec< Num_T > &a, const Vec< Num_T > &b)" --> |
---|
| 479 | Num_T </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#afe2f1e484c6ab4a143cce82594c8489">elem_mult_sum</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b)</td></tr> |
---|
| 480 | |
---|
| 481 | <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> |
---|
| 482 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78f0daab4492ed199d7423e26777fcae"></a><!-- doxytag: member="itpp::Vec::operator/" ref="78f0daab4492ed199d7423e26777fcae" args="(const Vec< Num_T > &v, Num_T t)" --> |
---|
| 483 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#78f0daab4492ed199d7423e26777fcae">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v, Num_T t)</td></tr> |
---|
| 484 | |
---|
| 485 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division. <br></td></tr> |
---|
| 486 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc9368e3fa3ae178878bab14ba3bae2b"></a><!-- doxytag: member="itpp::Vec::operator/" ref="fc9368e3fa3ae178878bab14ba3bae2b" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
| 487 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fc9368e3fa3ae178878bab14ba3bae2b">operator/</a> (Num_T t, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 488 | |
---|
| 489 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division. <br></td></tr> |
---|
| 490 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8cd7e3ea28d0ee008f8798e0a3c2ef7e"></a><!-- doxytag: member="itpp::Vec::elem_div" ref="8cd7e3ea28d0ee008f8798e0a3c2ef7e" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
| 491 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8cd7e3ea28d0ee008f8798e0a3c2ef7e">elem_div</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2)</td></tr> |
---|
| 492 | |
---|
| 493 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division. <br></td></tr> |
---|
| 494 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff18688d3bfed6bdba85ea063c5b763f"></a><!-- doxytag: member="itpp::Vec::elem_div" ref="ff18688d3bfed6bdba85ea063c5b763f" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
| 495 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#ff18688d3bfed6bdba85ea063c5b763f">elem_div</a> (Num_T t, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 496 | |
---|
| 497 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This function is deprecated. Please use <a class="el" href="classitpp_1_1Vec.html#fc9368e3fa3ae178878bab14ba3bae2b" title="Elementwise division.">operator/(Num_T, const Vec<Num_T> &)</a> instead. <br></td></tr> |
---|
| 498 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="554c5f84a7ec3a3003b2a7eb9df9a5e8"></a><!-- doxytag: member="itpp::Vec::elem_div_out" ref="554c5f84a7ec3a3003b2a7eb9df9a5e8" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2, Vec< Num_T > &out)" --> |
---|
| 499 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#554c5f84a7ec3a3003b2a7eb9df9a5e8">elem_div_out</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2, <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &out)</td></tr> |
---|
| 500 | |
---|
| 501 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division. <br></td></tr> |
---|
| 502 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f23f64c36f30e9ce36ea955ce9b2d77"></a><!-- doxytag: member="itpp::Vec::elem_div_sum" ref="4f23f64c36f30e9ce36ea955ce9b2d77" args="(const Vec< Num_T > &a, const Vec< Num_T > &b)" --> |
---|
| 503 | Num_T </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#4f23f64c36f30e9ce36ea955ce9b2d77">elem_div_sum</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &a, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &b)</td></tr> |
---|
| 504 | |
---|
| 505 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elementwise division, followed by summation of the resultant elements. Fast version of sum(elem_mult(a,b)). <br></td></tr> |
---|
| 506 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2b36bca65af52ad4800b5b23bac5f38f"></a><!-- doxytag: member="itpp::Vec::concat" ref="2b36bca65af52ad4800b5b23bac5f38f" args="(const Vec< Num_T > &v, Num_T t)" --> |
---|
| 507 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2b36bca65af52ad4800b5b23bac5f38f">concat</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v, Num_T t)</td></tr> |
---|
| 508 | |
---|
| 509 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Append element <code>t</code> to the end of the vector <code>v</code>. <br></td></tr> |
---|
| 510 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21f837cbede75d89d6a9e59f19d4721f"></a><!-- doxytag: member="itpp::Vec::concat" ref="21f837cbede75d89d6a9e59f19d4721f" args="(Num_T t, const Vec< Num_T > &v)" --> |
---|
| 511 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#21f837cbede75d89d6a9e59f19d4721f">concat</a> (Num_T t, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 512 | |
---|
| 513 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Insert element <code>t</code> at the beginning of the vector <code>v</code>. <br></td></tr> |
---|
| 514 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73903f8d4e00c8e2751d12544b279d8f"></a><!-- doxytag: member="itpp::Vec::concat" ref="73903f8d4e00c8e2751d12544b279d8f" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2)" --> |
---|
| 515 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#73903f8d4e00c8e2751d12544b279d8f">concat</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2)</td></tr> |
---|
| 516 | |
---|
| 517 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concatenate vectors <code>v1</code> and <code>v2</code>. <br></td></tr> |
---|
| 518 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15e2653c19465d305c58cfa86ca3d806"></a><!-- doxytag: member="itpp::Vec::concat" ref="15e2653c19465d305c58cfa86ca3d806" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3)" --> |
---|
| 519 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#15e2653c19465d305c58cfa86ca3d806">concat</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v3)</td></tr> |
---|
| 520 | |
---|
| 521 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concatenate vectors <code>v1</code>, <code>v2</code> and <code>v3</code>. <br></td></tr> |
---|
| 522 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="786f581450dfe5eb8aa1682194c4af44"></a><!-- doxytag: member="itpp::Vec::concat" ref="786f581450dfe5eb8aa1682194c4af44" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4)" --> |
---|
| 523 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#786f581450dfe5eb8aa1682194c4af44">concat</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v3, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v4)</td></tr> |
---|
| 524 | |
---|
| 525 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concatenate vectors <code>v1</code>, <code>v2</code>, <code>v3</code> and <code>v4</code>. <br></td></tr> |
---|
| 526 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1831c907d5d14e2403a1ce59fa85199b"></a><!-- doxytag: member="itpp::Vec::concat" ref="1831c907d5d14e2403a1ce59fa85199b" args="(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)" --> |
---|
| 527 | <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#1831c907d5d14e2403a1ce59fa85199b">concat</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v1, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v2, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v3, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v4, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v5)</td></tr> |
---|
| 528 | |
---|
| 529 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concatenate vectors <code>v1</code>, <code>v2</code>, <code>v3</code>, <code>v4</code> and <code>v5</code>. <br></td></tr> |
---|
| 530 | <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> |
---|
| 531 | <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> |
---|
| 532 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02e1bb55f60f3c2eb7a020eb1c2cfcf4"></a><!-- doxytag: member="itpp::Vec::vec" ref="02e1bb55f60f3c2eb7a020eb1c2cfcf4" args="" --> |
---|
| 533 | typedef <a class="el" href="classitpp_1_1Vec.html">Vec</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a></td></tr> |
---|
| 534 | |
---|
| 535 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of double vector type. <br></td></tr> |
---|
| 536 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e83c1408740e41a7e29c383b71d4d544"></a><!-- doxytag: member="itpp::Vec::cvec" ref="e83c1408740e41a7e29c383b71d4d544" args="" --> |
---|
| 537 | typedef <a class="el" href="classitpp_1_1Vec.html">Vec</a>< std::complex<br class="typebreak"> |
---|
| 538 | < double > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e83c1408740e41a7e29c383b71d4d544">cvec</a></td></tr> |
---|
| 539 | |
---|
| 540 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of complex<double> vector type. <br></td></tr> |
---|
| 541 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b03757d874926a9be91535e71af1656e"></a><!-- doxytag: member="itpp::Vec::ivec" ref="b03757d874926a9be91535e71af1656e" args="" --> |
---|
| 542 | typedef <a class="el" href="classitpp_1_1Vec.html">Vec</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b03757d874926a9be91535e71af1656e">ivec</a></td></tr> |
---|
| 543 | |
---|
| 544 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of integer vector type. <br></td></tr> |
---|
| 545 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7d53e7d4b228c818e8ade5c59c4ed9d9"></a><!-- doxytag: member="itpp::Vec::svec" ref="7d53e7d4b228c818e8ade5c59c4ed9d9" args="" --> |
---|
| 546 | typedef <a class="el" href="classitpp_1_1Vec.html">Vec</a>< short int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7d53e7d4b228c818e8ade5c59c4ed9d9">svec</a></td></tr> |
---|
| 547 | |
---|
| 548 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of short vector type. <br></td></tr> |
---|
| 549 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e10151f44bbabf17b670a9493d8088cf"></a><!-- doxytag: member="itpp::Vec::bvec" ref="e10151f44bbabf17b670a9493d8088cf" args="" --> |
---|
| 550 | typedef <a class="el" href="classitpp_1_1Vec.html">Vec</a>< <a class="el" href="classitpp_1_1bin.html">bin</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e10151f44bbabf17b670a9493d8088cf">bvec</a></td></tr> |
---|
| 551 | |
---|
| 552 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of binary vector type. <br></td></tr> |
---|
| 553 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gdeb6e1697b2808f6461e12daebb06a14"></a><!-- doxytag: member="itpp::Vec::to_bvec" ref="gdeb6e1697b2808f6461e12daebb06a14" args="(const Vec< T > &v)" --> |
---|
| 554 | template<class T > </td></tr> |
---|
| 555 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">bvec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#gdeb6e1697b2808f6461e12daebb06a14">to_bvec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &v)</td></tr> |
---|
| 556 | |
---|
| 557 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts a <a class="el" href="classitpp_1_1Vec.html">Vec<T></a> to bvec. <br></td></tr> |
---|
| 558 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gac95767904cc6d4a1a3e76e1765309a0"></a><!-- doxytag: member="itpp::Vec::to_svec" ref="gac95767904cc6d4a1a3e76e1765309a0" args="(const Vec< T > &v)" --> |
---|
| 559 | template<class T > </td></tr> |
---|
| 560 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">svec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#gac95767904cc6d4a1a3e76e1765309a0">to_svec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &v)</td></tr> |
---|
| 561 | |
---|
| 562 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts a <a class="el" href="classitpp_1_1Vec.html">Vec<T></a> to svec. <br></td></tr> |
---|
| 563 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gee7bbdaa9dc40aa6c3b63c83fc7f11fe"></a><!-- doxytag: member="itpp::Vec::to_ivec" ref="gee7bbdaa9dc40aa6c3b63c83fc7f11fe" args="(const Vec< T > &v)" --> |
---|
| 564 | template<class T > </td></tr> |
---|
| 565 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">ivec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#gee7bbdaa9dc40aa6c3b63c83fc7f11fe">to_ivec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &v)</td></tr> |
---|
| 566 | |
---|
| 567 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts a <a class="el" href="classitpp_1_1Vec.html">Vec<T></a> to ivec. <br></td></tr> |
---|
| 568 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g80f51dbf24cb09c99d48534b4770b633"></a><!-- doxytag: member="itpp::Vec::to_vec" ref="g80f51dbf24cb09c99d48534b4770b633" args="(const Vec< T > &v)" --> |
---|
| 569 | template<class T > </td></tr> |
---|
| 570 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#g80f51dbf24cb09c99d48534b4770b633">to_vec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &v)</td></tr> |
---|
| 571 | |
---|
| 572 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts a <a class="el" href="classitpp_1_1Vec.html">Vec<T></a> to vec. <br></td></tr> |
---|
| 573 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="gf513bda819465b60780abe3ddcd3c797"></a><!-- doxytag: member="itpp::Vec::to_cvec" ref="gf513bda819465b60780abe3ddcd3c797" args="(const Vec< T > &v)" --> |
---|
| 574 | template<class T > </td></tr> |
---|
| 575 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#gf513bda819465b60780abe3ddcd3c797">to_cvec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &v)</td></tr> |
---|
| 576 | |
---|
| 577 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts a <a class="el" href="classitpp_1_1Vec.html">Vec<T></a> to cvec. <br></td></tr> |
---|
| 578 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g314541dc3c9f92dc35e900a2b044e225"></a><!-- doxytag: member="itpp::Vec::to_cvec" ref="g314541dc3c9f92dc35e900a2b044e225" args="(const Vec< T > &real, const Vec< T > &imag)" --> |
---|
| 579 | template<class T > </td></tr> |
---|
| 580 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#g314541dc3c9f92dc35e900a2b044e225">to_cvec</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &real, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &imag)</td></tr> |
---|
| 581 | |
---|
| 582 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts real and imaginary <a class="el" href="classitpp_1_1Vec.html">Vec<T></a> to cvec. <br></td></tr> |
---|
| 583 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga2c82af9774f45c3554fb03a06f3e28d"></a><!-- doxytag: member="itpp::Vec::to_ivec" ref="ga2c82af9774f45c3554fb03a06f3e28d" args="(int s)" --> |
---|
| 584 | <a class="el" href="classitpp_1_1Vec.html">ivec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#ga2c82af9774f45c3554fb03a06f3e28d">to_ivec</a> (int s)</td></tr> |
---|
| 585 | |
---|
| 586 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts an int to ivec. <br></td></tr> |
---|
| 587 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ga325f1de0fd8af751778b2d61fce015b"></a><!-- doxytag: member="itpp::Vec::to_vec" ref="ga325f1de0fd8af751778b2d61fce015b" args="(double s)" --> |
---|
| 588 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#ga325f1de0fd8af751778b2d61fce015b">to_vec</a> (double s)</td></tr> |
---|
| 589 | |
---|
| 590 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts an double to vec. <br></td></tr> |
---|
| 591 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g5d38db5328e8f0f065c094660d640749"></a><!-- doxytag: member="itpp::Vec::to_cvec" ref="g5d38db5328e8f0f065c094660d640749" args="(double real, double imag)" --> |
---|
| 592 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__convertfunc.html#g5d38db5328e8f0f065c094660d640749">to_cvec</a> (double real, double imag)</td></tr> |
---|
| 593 | |
---|
| 594 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts real and imaginary double to cvec. <br></td></tr> |
---|
| 595 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
| 596 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__matrix__functions.html#g53cd7ee1e173c8a2e56d0b4c77e49c20">repmat</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &v, int n)</td></tr> |
---|
| 597 | |
---|
| 598 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a vector with <code>n</code> copies of the vector <code>v</code>. <a href="group__matrix__functions.html#g53cd7ee1e173c8a2e56d0b4c77e49c20"></a><br></td></tr> |
---|
| 599 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d6a4921289a70a5bbbd8bb837a7ae8ff"></a><!-- doxytag: member="itpp::Vec::operator+" ref="d6a4921289a70a5bbbd8bb837a7ae8ff" args="(const float &s, const vec &v)" --> |
---|
| 600 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d6a4921289a70a5bbbd8bb837a7ae8ff">operator+</a> (const float &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 601 | |
---|
| 602 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for float and vec. <br></td></tr> |
---|
| 603 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f48f58e926d94a049462b4aaaa27d2a"></a><!-- doxytag: member="itpp::Vec::operator+" ref="0f48f58e926d94a049462b4aaaa27d2a" args="(const short &s, const vec &v)" --> |
---|
| 604 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0f48f58e926d94a049462b4aaaa27d2a">operator+</a> (const short &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 605 | |
---|
| 606 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for short and vec. <br></td></tr> |
---|
| 607 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e16d73a8786eeaf60e426245d85a5508"></a><!-- doxytag: member="itpp::Vec::operator+" ref="e16d73a8786eeaf60e426245d85a5508" args="(const int &s, const vec &v)" --> |
---|
| 608 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e16d73a8786eeaf60e426245d85a5508">operator+</a> (const int &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 609 | |
---|
| 610 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for int and vec. <br></td></tr> |
---|
| 611 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2754389436792afd79831d70f66bb26c"></a><!-- doxytag: member="itpp::Vec::operator+" ref="2754389436792afd79831d70f66bb26c" args="(const vec &v, const float &s)" --> |
---|
| 612 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2754389436792afd79831d70f66bb26c">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const float &s)</td></tr> |
---|
| 613 | |
---|
| 614 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for vec and float. <br></td></tr> |
---|
| 615 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2df642c207b36e9ea10a20ee16cd5aaf"></a><!-- doxytag: member="itpp::Vec::operator+" ref="2df642c207b36e9ea10a20ee16cd5aaf" args="(const vec &v, const short &s)" --> |
---|
| 616 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2df642c207b36e9ea10a20ee16cd5aaf">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const short &s)</td></tr> |
---|
| 617 | |
---|
| 618 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for vec and short. <br></td></tr> |
---|
| 619 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fbc5264ea11269c809d545b4ad543f5a"></a><!-- doxytag: member="itpp::Vec::operator+" ref="fbc5264ea11269c809d545b4ad543f5a" args="(const vec &v, const int &s)" --> |
---|
| 620 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fbc5264ea11269c809d545b4ad543f5a">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const int &s)</td></tr> |
---|
| 621 | |
---|
| 622 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for vec and int. <br></td></tr> |
---|
| 623 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f63f4c081a1c15d7a72c355c2c7eff6"></a><!-- doxytag: member="itpp::Vec::operator-" ref="8f63f4c081a1c15d7a72c355c2c7eff6" args="(const float &s, const vec &v)" --> |
---|
| 624 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8f63f4c081a1c15d7a72c355c2c7eff6">operator-</a> (const float &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 625 | |
---|
| 626 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for float and vec. <br></td></tr> |
---|
| 627 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="09a8d526be6b86e4eb4849050b2a030b"></a><!-- doxytag: member="itpp::Vec::operator-" ref="09a8d526be6b86e4eb4849050b2a030b" args="(const short &s, const vec &v)" --> |
---|
| 628 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#09a8d526be6b86e4eb4849050b2a030b">operator-</a> (const short &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 629 | |
---|
| 630 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for short and vec. <br></td></tr> |
---|
| 631 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8258cb1fc2187cfe96f918c55773ba1b"></a><!-- doxytag: member="itpp::Vec::operator-" ref="8258cb1fc2187cfe96f918c55773ba1b" args="(const int &s, const vec &v)" --> |
---|
| 632 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8258cb1fc2187cfe96f918c55773ba1b">operator-</a> (const int &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 633 | |
---|
| 634 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for int and vec. <br></td></tr> |
---|
| 635 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="086bb00cbc0247093420e6a22a5996d2"></a><!-- doxytag: member="itpp::Vec::operator-" ref="086bb00cbc0247093420e6a22a5996d2" args="(const vec &v, const float &s)" --> |
---|
| 636 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#086bb00cbc0247093420e6a22a5996d2">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const float &s)</td></tr> |
---|
| 637 | |
---|
| 638 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for vec and float. <br></td></tr> |
---|
| 639 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1c2cb02be8911c45b5b60dfc209dc39"></a><!-- doxytag: member="itpp::Vec::operator-" ref="a1c2cb02be8911c45b5b60dfc209dc39" args="(const vec &v, const short &s)" --> |
---|
| 640 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a1c2cb02be8911c45b5b60dfc209dc39">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const short &s)</td></tr> |
---|
| 641 | |
---|
| 642 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for vec and short. <br></td></tr> |
---|
| 643 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ba8e53d691539671ad9acad2e3267ac"></a><!-- doxytag: member="itpp::Vec::operator-" ref="2ba8e53d691539671ad9acad2e3267ac" args="(const vec &v, const int &s)" --> |
---|
| 644 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2ba8e53d691539671ad9acad2e3267ac">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const int &s)</td></tr> |
---|
| 645 | |
---|
| 646 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for vec and int. <br></td></tr> |
---|
| 647 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c72d7f24c1bf72c9467e77bb47725edd"></a><!-- doxytag: member="itpp::Vec::operator*" ref="c72d7f24c1bf72c9467e77bb47725edd" args="(const float &s, const vec &v)" --> |
---|
| 648 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c72d7f24c1bf72c9467e77bb47725edd">operator*</a> (const float &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 649 | |
---|
| 650 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for float and vec. <br></td></tr> |
---|
| 651 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2b7365bf9a4dea735784ef6af15677a"></a><!-- doxytag: member="itpp::Vec::operator*" ref="a2b7365bf9a4dea735784ef6af15677a" args="(const short &s, const vec &v)" --> |
---|
| 652 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a2b7365bf9a4dea735784ef6af15677a">operator*</a> (const short &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 653 | |
---|
| 654 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for short and vec. <br></td></tr> |
---|
| 655 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9a6a36a9199fbce947d9faf097b4e3e"></a><!-- doxytag: member="itpp::Vec::operator*" ref="c9a6a36a9199fbce947d9faf097b4e3e" args="(const int &s, const vec &v)" --> |
---|
| 656 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c9a6a36a9199fbce947d9faf097b4e3e">operator*</a> (const int &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 657 | |
---|
| 658 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for int and vec. <br></td></tr> |
---|
| 659 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d8f90da78e466740bf89b86677c8d32"></a><!-- doxytag: member="itpp::Vec::operator*" ref="9d8f90da78e466740bf89b86677c8d32" args="(const std::complex< double > &s, const vec &v)" --> |
---|
| 660 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9d8f90da78e466740bf89b86677c8d32">operator*</a> (const std::complex< double > &s, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v)</td></tr> |
---|
| 661 | |
---|
| 662 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for complex<double> and vec. <br></td></tr> |
---|
| 663 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="837f86310e8b88d218cb602825532f00"></a><!-- doxytag: member="itpp::Vec::operator*" ref="837f86310e8b88d218cb602825532f00" args="(const vec &v, const float &s)" --> |
---|
| 664 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#837f86310e8b88d218cb602825532f00">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const float &s)</td></tr> |
---|
| 665 | |
---|
| 666 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and float. <br></td></tr> |
---|
| 667 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e2abe314087800740f4022db8ae4154"></a><!-- doxytag: member="itpp::Vec::operator*" ref="5e2abe314087800740f4022db8ae4154" args="(const vec &v, const short &s)" --> |
---|
| 668 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#5e2abe314087800740f4022db8ae4154">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const short &s)</td></tr> |
---|
| 669 | |
---|
| 670 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and short. <br></td></tr> |
---|
| 671 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1fc0a7a78f09a84379a73c48d0aae3b0"></a><!-- doxytag: member="itpp::Vec::operator*" ref="1fc0a7a78f09a84379a73c48d0aae3b0" args="(const vec &v, const int &s)" --> |
---|
| 672 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#1fc0a7a78f09a84379a73c48d0aae3b0">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const int &s)</td></tr> |
---|
| 673 | |
---|
| 674 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and int. <br></td></tr> |
---|
| 675 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c03183ca94839155fdd2bc4a0d896822"></a><!-- doxytag: member="itpp::Vec::operator*" ref="c03183ca94839155fdd2bc4a0d896822" args="(const vec &v, const std::complex< double > &s)" --> |
---|
| 676 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c03183ca94839155fdd2bc4a0d896822">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const std::complex< double > &s)</td></tr> |
---|
| 677 | |
---|
| 678 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and complex<double>. <br></td></tr> |
---|
| 679 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1ac1dcceda5933fb099be305a575e02"></a><!-- doxytag: member="itpp::Vec::operator/" ref="d1ac1dcceda5933fb099be305a575e02" args="(const vec &v, const float &s)" --> |
---|
| 680 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d1ac1dcceda5933fb099be305a575e02">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const float &s)</td></tr> |
---|
| 681 | |
---|
| 682 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for vec and float. <br></td></tr> |
---|
| 683 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bb2e86c249e755648e22ca857ea0f81e"></a><!-- doxytag: member="itpp::Vec::operator/" ref="bb2e86c249e755648e22ca857ea0f81e" args="(const vec &v, const short &s)" --> |
---|
| 684 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#bb2e86c249e755648e22ca857ea0f81e">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const short &s)</td></tr> |
---|
| 685 | |
---|
| 686 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for vec and short. <br></td></tr> |
---|
| 687 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b105965c2ef2cbc2da16b3a9eebe7a6f"></a><!-- doxytag: member="itpp::Vec::operator/" ref="b105965c2ef2cbc2da16b3a9eebe7a6f" args="(const vec &v, const int &s)" --> |
---|
| 688 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b105965c2ef2cbc2da16b3a9eebe7a6f">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &v, const int &s)</td></tr> |
---|
| 689 | |
---|
| 690 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for vec and int. <br></td></tr> |
---|
| 691 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="119aab9a77305574849e20b3a8e9a22b"></a><!-- doxytag: member="itpp::Vec::operator+" ref="119aab9a77305574849e20b3a8e9a22b" args="(const double &s, const ivec &v)" --> |
---|
| 692 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#119aab9a77305574849e20b3a8e9a22b">operator+</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 693 | |
---|
| 694 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for double and ivec. <br></td></tr> |
---|
| 695 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="284fa4b79997dc77b982f18d530a2328"></a><!-- doxytag: member="itpp::Vec::operator+" ref="284fa4b79997dc77b982f18d530a2328" args="(const ivec &v, const double &s)" --> |
---|
| 696 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#284fa4b79997dc77b982f18d530a2328">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const double &s)</td></tr> |
---|
| 697 | |
---|
| 698 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for ivec and double. <br></td></tr> |
---|
| 699 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2f232b7d65f4d4be94a6fb5a59859f2"></a><!-- doxytag: member="itpp::Vec::operator-" ref="d2f232b7d65f4d4be94a6fb5a59859f2" args="(const double &s, const ivec &v)" --> |
---|
| 700 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d2f232b7d65f4d4be94a6fb5a59859f2">operator-</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 701 | |
---|
| 702 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for double and ivec. <br></td></tr> |
---|
| 703 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="feea11ab8b84ab700553e7e5036a7ac8"></a><!-- doxytag: member="itpp::Vec::operator-" ref="feea11ab8b84ab700553e7e5036a7ac8" args="(const ivec &v, const double &s)" --> |
---|
| 704 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#feea11ab8b84ab700553e7e5036a7ac8">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const double &s)</td></tr> |
---|
| 705 | |
---|
| 706 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for ivec and double. <br></td></tr> |
---|
| 707 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd051539443b000af0f8bcb54941bb6e"></a><!-- doxytag: member="itpp::Vec::operator*" ref="fd051539443b000af0f8bcb54941bb6e" args="(const double &s, const ivec &v)" --> |
---|
| 708 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fd051539443b000af0f8bcb54941bb6e">operator*</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 709 | |
---|
| 710 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for double and ivec. <br></td></tr> |
---|
| 711 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7bcbdda60408910a05433919030fb446"></a><!-- doxytag: member="itpp::Vec::operator*" ref="7bcbdda60408910a05433919030fb446" args="(const ivec &v, const double &s)" --> |
---|
| 712 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7bcbdda60408910a05433919030fb446">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const double &s)</td></tr> |
---|
| 713 | |
---|
| 714 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for ivec and double. <br></td></tr> |
---|
| 715 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7cc36c9c02e90b8683e30b56a84febc"></a><!-- doxytag: member="itpp::Vec::operator/" ref="d7cc36c9c02e90b8683e30b56a84febc" args="(const double &s, const ivec &v)" --> |
---|
| 716 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d7cc36c9c02e90b8683e30b56a84febc">operator/</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 717 | |
---|
| 718 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for double and ivec. <br></td></tr> |
---|
| 719 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="818be11119f2acc60cd4d1abafad12c5"></a><!-- doxytag: member="itpp::Vec::operator/" ref="818be11119f2acc60cd4d1abafad12c5" args="(const ivec &v, const double &s)" --> |
---|
| 720 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#818be11119f2acc60cd4d1abafad12c5">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const double &s)</td></tr> |
---|
| 721 | |
---|
| 722 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for ivec and double. <br></td></tr> |
---|
| 723 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b81f8e5b87dd4b0434b1fe9b8b703ac7"></a><!-- doxytag: member="itpp::Vec::operator+" ref="b81f8e5b87dd4b0434b1fe9b8b703ac7" args="(const std::complex< double > &s, const ivec &v)" --> |
---|
| 724 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b81f8e5b87dd4b0434b1fe9b8b703ac7">operator+</a> (const std::complex< double > &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 725 | |
---|
| 726 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for complex<double> and ivec. <br></td></tr> |
---|
| 727 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a39de201558e878e9c0fe223f566601a"></a><!-- doxytag: member="itpp::Vec::operator+" ref="a39de201558e878e9c0fe223f566601a" args="(const ivec &v, const std::complex< double > &s)" --> |
---|
| 728 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a39de201558e878e9c0fe223f566601a">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const std::complex< double > &s)</td></tr> |
---|
| 729 | |
---|
| 730 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for ivec and complex<double>. <br></td></tr> |
---|
| 731 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89691cf6f1172bfe49c6fc75344283ad"></a><!-- doxytag: member="itpp::Vec::operator-" ref="89691cf6f1172bfe49c6fc75344283ad" args="(const std::complex< double > &s, const ivec &v)" --> |
---|
| 732 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#89691cf6f1172bfe49c6fc75344283ad">operator-</a> (const std::complex< double > &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 733 | |
---|
| 734 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for complex<double> and ivec. <br></td></tr> |
---|
| 735 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="558913e1e0e0356e405234cf6927507e"></a><!-- doxytag: member="itpp::Vec::operator-" ref="558913e1e0e0356e405234cf6927507e" args="(const ivec &v, const std::complex< double > &s)" --> |
---|
| 736 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#558913e1e0e0356e405234cf6927507e">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const std::complex< double > &s)</td></tr> |
---|
| 737 | |
---|
| 738 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for ivec and complex<double>. <br></td></tr> |
---|
| 739 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e3f346d98bdd5d9748059f1eb50c760"></a><!-- doxytag: member="itpp::Vec::operator*" ref="5e3f346d98bdd5d9748059f1eb50c760" args="(const std::complex< double > &s, const ivec &v)" --> |
---|
| 740 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#5e3f346d98bdd5d9748059f1eb50c760">operator*</a> (const std::complex< double > &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 741 | |
---|
| 742 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for complex<double> and ivec. <br></td></tr> |
---|
| 743 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4be68210119e2740fcc0ca537c153cd"></a><!-- doxytag: member="itpp::Vec::operator*" ref="f4be68210119e2740fcc0ca537c153cd" args="(const ivec &v, const std::complex< double > &s)" --> |
---|
| 744 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f4be68210119e2740fcc0ca537c153cd">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const std::complex< double > &s)</td></tr> |
---|
| 745 | |
---|
| 746 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for ivec and complex<double>. <br></td></tr> |
---|
| 747 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02beb5aaa1b160541faa1baf2c62b5ad"></a><!-- doxytag: member="itpp::Vec::operator/" ref="02beb5aaa1b160541faa1baf2c62b5ad" args="(const std::complex< double > &s, const ivec &v)" --> |
---|
| 748 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#02beb5aaa1b160541faa1baf2c62b5ad">operator/</a> (const std::complex< double > &s, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v)</td></tr> |
---|
| 749 | |
---|
| 750 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for complex<double> and ivec. <br></td></tr> |
---|
| 751 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a656be2c968ba0c73c5b8f4a1021af16"></a><!-- doxytag: member="itpp::Vec::operator/" ref="a656be2c968ba0c73c5b8f4a1021af16" args="(const ivec &v, const std::complex< double > &s)" --> |
---|
| 752 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a656be2c968ba0c73c5b8f4a1021af16">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &v, const std::complex< double > &s)</td></tr> |
---|
| 753 | |
---|
| 754 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for ivec and complex<double>. <br></td></tr> |
---|
| 755 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5f237ffb259366f666f963a644f8e65"></a><!-- doxytag: member="itpp::Vec::operator+" ref="f5f237ffb259366f666f963a644f8e65" args="(const double &s, const cvec &v)" --> |
---|
| 756 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f5f237ffb259366f666f963a644f8e65">operator+</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 757 | |
---|
| 758 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for double and cvec. <br></td></tr> |
---|
| 759 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26632f30ce1eeafc78551790547f5fb2"></a><!-- doxytag: member="itpp::Vec::operator+" ref="26632f30ce1eeafc78551790547f5fb2" args="(const float &s, const cvec &v)" --> |
---|
| 760 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#26632f30ce1eeafc78551790547f5fb2">operator+</a> (const float &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 761 | |
---|
| 762 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for float and cvec. <br></td></tr> |
---|
| 763 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cce524b808ea47290e4a6ce1b6572af9"></a><!-- doxytag: member="itpp::Vec::operator+" ref="cce524b808ea47290e4a6ce1b6572af9" args="(const short &s, const cvec &v)" --> |
---|
| 764 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#cce524b808ea47290e4a6ce1b6572af9">operator+</a> (const short &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 765 | |
---|
| 766 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for short and cvec. <br></td></tr> |
---|
| 767 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dad8e6b419616fcb42cae11842883cb3"></a><!-- doxytag: member="itpp::Vec::operator+" ref="dad8e6b419616fcb42cae11842883cb3" args="(const int &s, const cvec &v)" --> |
---|
| 768 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dad8e6b419616fcb42cae11842883cb3">operator+</a> (const int &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 769 | |
---|
| 770 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for int and cvec. <br></td></tr> |
---|
| 771 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97f5548d7e0dbcf4900b827020c6ed99"></a><!-- doxytag: member="itpp::Vec::operator+" ref="97f5548d7e0dbcf4900b827020c6ed99" args="(const cvec &v, const float &s)" --> |
---|
| 772 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#97f5548d7e0dbcf4900b827020c6ed99">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const float &s)</td></tr> |
---|
| 773 | |
---|
| 774 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and float. <br></td></tr> |
---|
| 775 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd7c59067584b8b05d24fff226d6e72e"></a><!-- doxytag: member="itpp::Vec::operator+" ref="cd7c59067584b8b05d24fff226d6e72e" args="(const cvec &v, const double &s)" --> |
---|
| 776 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#cd7c59067584b8b05d24fff226d6e72e">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const double &s)</td></tr> |
---|
| 777 | |
---|
| 778 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and double. <br></td></tr> |
---|
| 779 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="91dfb90a6f559ed378468404fded9235"></a><!-- doxytag: member="itpp::Vec::operator+" ref="91dfb90a6f559ed378468404fded9235" args="(const cvec &v, const short &s)" --> |
---|
| 780 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#91dfb90a6f559ed378468404fded9235">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const short &s)</td></tr> |
---|
| 781 | |
---|
| 782 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and short. <br></td></tr> |
---|
| 783 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="094caf274df471509499ca0ddbb111f7"></a><!-- doxytag: member="itpp::Vec::operator+" ref="094caf274df471509499ca0ddbb111f7" args="(const cvec &v, const int &s)" --> |
---|
| 784 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#094caf274df471509499ca0ddbb111f7">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const int &s)</td></tr> |
---|
| 785 | |
---|
| 786 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and int. <br></td></tr> |
---|
| 787 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5102486a49ce011b440dbdb71cfd181"></a><!-- doxytag: member="itpp::Vec::operator-" ref="b5102486a49ce011b440dbdb71cfd181" args="(const double &s, const cvec &v)" --> |
---|
| 788 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b5102486a49ce011b440dbdb71cfd181">operator-</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 789 | |
---|
| 790 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for double and cvec. <br></td></tr> |
---|
| 791 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ac6e000773ec02513f294f7aebbbfb8"></a><!-- doxytag: member="itpp::Vec::operator-" ref="2ac6e000773ec02513f294f7aebbbfb8" args="(const float &s, const cvec &v)" --> |
---|
| 792 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#2ac6e000773ec02513f294f7aebbbfb8">operator-</a> (const float &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 793 | |
---|
| 794 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for float and cvec. <br></td></tr> |
---|
| 795 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96ce85862c4f4e6262d1ee8bbeeeed1"></a><!-- doxytag: member="itpp::Vec::operator-" ref="f96ce85862c4f4e6262d1ee8bbeeeed1" args="(const short &s, const cvec &v)" --> |
---|
| 796 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f96ce85862c4f4e6262d1ee8bbeeeed1">operator-</a> (const short &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 797 | |
---|
| 798 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for short and cvec. <br></td></tr> |
---|
| 799 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ab880a9248aae9b9c991113e45d4b37b"></a><!-- doxytag: member="itpp::Vec::operator-" ref="ab880a9248aae9b9c991113e45d4b37b" args="(const int &s, const cvec &v)" --> |
---|
| 800 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#ab880a9248aae9b9c991113e45d4b37b">operator-</a> (const int &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 801 | |
---|
| 802 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for int and cvec. <br></td></tr> |
---|
| 803 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d15ca7386c80e8fc28f8ee4b9cf6acbf"></a><!-- doxytag: member="itpp::Vec::operator-" ref="d15ca7386c80e8fc28f8ee4b9cf6acbf" args="(const cvec &v, const float &s)" --> |
---|
| 804 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d15ca7386c80e8fc28f8ee4b9cf6acbf">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const float &s)</td></tr> |
---|
| 805 | |
---|
| 806 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and float. <br></td></tr> |
---|
| 807 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b46d1f19307dcec625ad68e69fa4fce3"></a><!-- doxytag: member="itpp::Vec::operator-" ref="b46d1f19307dcec625ad68e69fa4fce3" args="(const cvec &v, const double &s)" --> |
---|
| 808 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b46d1f19307dcec625ad68e69fa4fce3">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const double &s)</td></tr> |
---|
| 809 | |
---|
| 810 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and double. <br></td></tr> |
---|
| 811 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="43880b084344c187b95dc98352ebeb48"></a><!-- doxytag: member="itpp::Vec::operator-" ref="43880b084344c187b95dc98352ebeb48" args="(const cvec &v, const short &s)" --> |
---|
| 812 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#43880b084344c187b95dc98352ebeb48">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const short &s)</td></tr> |
---|
| 813 | |
---|
| 814 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and short. <br></td></tr> |
---|
| 815 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2d497964019dcbff85a9082edc35fef"></a><!-- doxytag: member="itpp::Vec::operator-" ref="b2d497964019dcbff85a9082edc35fef" args="(const cvec &v, const int &s)" --> |
---|
| 816 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b2d497964019dcbff85a9082edc35fef">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const int &s)</td></tr> |
---|
| 817 | |
---|
| 818 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and int. <br></td></tr> |
---|
| 819 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6994e3c8b4095757b44e62545b38e8c1"></a><!-- doxytag: member="itpp::Vec::operator*" ref="6994e3c8b4095757b44e62545b38e8c1" args="(const double &s, const cvec &v)" --> |
---|
| 820 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#6994e3c8b4095757b44e62545b38e8c1">operator*</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 821 | |
---|
| 822 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for double and cvec. <br></td></tr> |
---|
| 823 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc1d2a0a7f13e4be8137af801984c76e"></a><!-- doxytag: member="itpp::Vec::operator*" ref="fc1d2a0a7f13e4be8137af801984c76e" args="(const float &s, const cvec &v)" --> |
---|
| 824 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fc1d2a0a7f13e4be8137af801984c76e">operator*</a> (const float &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 825 | |
---|
| 826 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for float and cvec. <br></td></tr> |
---|
| 827 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="41eba2751cb8607696db1fc824b5cdab"></a><!-- doxytag: member="itpp::Vec::operator*" ref="41eba2751cb8607696db1fc824b5cdab" args="(const short &s, const cvec &v)" --> |
---|
| 828 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#41eba2751cb8607696db1fc824b5cdab">operator*</a> (const short &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 829 | |
---|
| 830 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for short and cvec. <br></td></tr> |
---|
| 831 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb674affcda651cca195f5d27064c416"></a><!-- doxytag: member="itpp::Vec::operator*" ref="fb674affcda651cca195f5d27064c416" args="(const int &s, const cvec &v)" --> |
---|
| 832 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fb674affcda651cca195f5d27064c416">operator*</a> (const int &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 833 | |
---|
| 834 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for int and cvec. <br></td></tr> |
---|
| 835 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="823596e93d57f94b647822e9119bd89c"></a><!-- doxytag: member="itpp::Vec::operator*" ref="823596e93d57f94b647822e9119bd89c" args="(const cvec &v, const float &s)" --> |
---|
| 836 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#823596e93d57f94b647822e9119bd89c">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const float &s)</td></tr> |
---|
| 837 | |
---|
| 838 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and float. <br></td></tr> |
---|
| 839 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32f0454430779f259f4d4e88a687667b"></a><!-- doxytag: member="itpp::Vec::operator*" ref="32f0454430779f259f4d4e88a687667b" args="(const cvec &v, const double &s)" --> |
---|
| 840 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#32f0454430779f259f4d4e88a687667b">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const double &s)</td></tr> |
---|
| 841 | |
---|
| 842 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and double. <br></td></tr> |
---|
| 843 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40e4be25c4927d6f6b5f7765b1275338"></a><!-- doxytag: member="itpp::Vec::operator*" ref="40e4be25c4927d6f6b5f7765b1275338" args="(const cvec &v, const short &s)" --> |
---|
| 844 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#40e4be25c4927d6f6b5f7765b1275338">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const short &s)</td></tr> |
---|
| 845 | |
---|
| 846 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and short. <br></td></tr> |
---|
| 847 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ce7b7f19e1b5b5aaa2134aaf52db05dc"></a><!-- doxytag: member="itpp::Vec::operator*" ref="ce7b7f19e1b5b5aaa2134aaf52db05dc" args="(const cvec &v, const int &s)" --> |
---|
| 848 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#ce7b7f19e1b5b5aaa2134aaf52db05dc">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const int &s)</td></tr> |
---|
| 849 | |
---|
| 850 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and int. <br></td></tr> |
---|
| 851 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e37e1feb5661c19f056bf62ff2af7d3"></a><!-- doxytag: member="itpp::Vec::operator/" ref="3e37e1feb5661c19f056bf62ff2af7d3" args="(const cvec &v, const double &s)" --> |
---|
| 852 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#3e37e1feb5661c19f056bf62ff2af7d3">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const double &s)</td></tr> |
---|
| 853 | |
---|
| 854 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for cvec and double. <br></td></tr> |
---|
| 855 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc25b36865207a85b2b6d6fb63ca6196"></a><!-- doxytag: member="itpp::Vec::operator/" ref="dc25b36865207a85b2b6d6fb63ca6196" args="(const double &s, const cvec &v)" --> |
---|
| 856 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dc25b36865207a85b2b6d6fb63ca6196">operator/</a> (const double &s, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v)</td></tr> |
---|
| 857 | |
---|
| 858 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for double and cvec. <br></td></tr> |
---|
| 859 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6cb67906472493941e17a49a84fa2754"></a><!-- doxytag: member="itpp::Vec::operator/" ref="6cb67906472493941e17a49a84fa2754" args="(const cvec &v, const float &s)" --> |
---|
| 860 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#6cb67906472493941e17a49a84fa2754">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const float &s)</td></tr> |
---|
| 861 | |
---|
| 862 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for cvec and float. <br></td></tr> |
---|
| 863 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="59ab2b4279e03dcfa7a097b99565bc19"></a><!-- doxytag: member="itpp::Vec::operator/" ref="59ab2b4279e03dcfa7a097b99565bc19" args="(const cvec &v, const short &s)" --> |
---|
| 864 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#59ab2b4279e03dcfa7a097b99565bc19">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const short &s)</td></tr> |
---|
| 865 | |
---|
| 866 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for cvec and short. <br></td></tr> |
---|
| 867 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="41426757ca1b6eb67bd66b9495155616"></a><!-- doxytag: member="itpp::Vec::operator/" ref="41426757ca1b6eb67bd66b9495155616" args="(const cvec &v, const int &s)" --> |
---|
| 868 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#41426757ca1b6eb67bd66b9495155616">operator/</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &v, const int &s)</td></tr> |
---|
| 869 | |
---|
| 870 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Division operator for cvec and int. <br></td></tr> |
---|
| 871 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc74da0545597350e74dff3c22d4bf51"></a><!-- doxytag: member="itpp::Vec::operator+" ref="bc74da0545597350e74dff3c22d4bf51" args="(const bvec &a, const vec &b)" --> |
---|
| 872 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#bc74da0545597350e74dff3c22d4bf51">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 873 | |
---|
| 874 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for bvec and vec. <br></td></tr> |
---|
| 875 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f78aa0b7e2c0334753867cdf4c3a48cd"></a><!-- doxytag: member="itpp::Vec::operator+" ref="f78aa0b7e2c0334753867cdf4c3a48cd" args="(const svec &a, const vec &b)" --> |
---|
| 876 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f78aa0b7e2c0334753867cdf4c3a48cd">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">svec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 877 | |
---|
| 878 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for svec and vec. <br></td></tr> |
---|
| 879 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f2f756510582644d9b510ab572b0658"></a><!-- doxytag: member="itpp::Vec::operator+" ref="4f2f756510582644d9b510ab572b0658" args="(const ivec &a, const vec &b)" --> |
---|
| 880 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#4f2f756510582644d9b510ab572b0658">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 881 | |
---|
| 882 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for ivec and vec. <br></td></tr> |
---|
| 883 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dab01f0870c50d1c4b739da87abb9e69"></a><!-- doxytag: member="itpp::Vec::operator+" ref="dab01f0870c50d1c4b739da87abb9e69" args="(const vec &a, const bvec &b)" --> |
---|
| 884 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#dab01f0870c50d1c4b739da87abb9e69">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &b)</td></tr> |
---|
| 885 | |
---|
| 886 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for vec and bvec. <br></td></tr> |
---|
| 887 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd2d7981cfd171094892a9ef873e9e6e"></a><!-- doxytag: member="itpp::Vec::operator+" ref="bd2d7981cfd171094892a9ef873e9e6e" args="(const vec &a, const svec &b)" --> |
---|
| 888 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#bd2d7981cfd171094892a9ef873e9e6e">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">svec</a> &b)</td></tr> |
---|
| 889 | |
---|
| 890 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for vec and svec. <br></td></tr> |
---|
| 891 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a91da4a8e5d90e92fc92a8923882b96f"></a><!-- doxytag: member="itpp::Vec::operator+" ref="a91da4a8e5d90e92fc92a8923882b96f" args="(const vec &a, const ivec &b)" --> |
---|
| 892 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a91da4a8e5d90e92fc92a8923882b96f">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &b)</td></tr> |
---|
| 893 | |
---|
| 894 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for vec and ivec. <br></td></tr> |
---|
| 895 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13b4fe4e232c481fc2ff0326b96e0456"></a><!-- doxytag: member="itpp::Vec::operator-" ref="13b4fe4e232c481fc2ff0326b96e0456" args="(const bvec &a, const vec &b)" --> |
---|
| 896 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#13b4fe4e232c481fc2ff0326b96e0456">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 897 | |
---|
| 898 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for bvec and vec. <br></td></tr> |
---|
| 899 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37d81f47b58e8831f269ef2c4f575679"></a><!-- doxytag: member="itpp::Vec::operator-" ref="37d81f47b58e8831f269ef2c4f575679" args="(const svec &a, const vec &b)" --> |
---|
| 900 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#37d81f47b58e8831f269ef2c4f575679">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">svec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 901 | |
---|
| 902 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for svec and vec. <br></td></tr> |
---|
| 903 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a853b63106e35ec098966a636438129a"></a><!-- doxytag: member="itpp::Vec::operator-" ref="a853b63106e35ec098966a636438129a" args="(const ivec &a, const vec &b)" --> |
---|
| 904 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a853b63106e35ec098966a636438129a">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 905 | |
---|
| 906 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for ivec and vec. <br></td></tr> |
---|
| 907 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa9252e293b54b746844a04b931e26e9"></a><!-- doxytag: member="itpp::Vec::operator-" ref="aa9252e293b54b746844a04b931e26e9" args="(const vec &a, const bvec &b)" --> |
---|
| 908 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#aa9252e293b54b746844a04b931e26e9">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &b)</td></tr> |
---|
| 909 | |
---|
| 910 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for vec and bvec. <br></td></tr> |
---|
| 911 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="636a143ea78bfd6f443109f93c539da0"></a><!-- doxytag: member="itpp::Vec::operator-" ref="636a143ea78bfd6f443109f93c539da0" args="(const vec &a, const svec &b)" --> |
---|
| 912 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#636a143ea78bfd6f443109f93c539da0">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">svec</a> &b)</td></tr> |
---|
| 913 | |
---|
| 914 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for vec and svec. <br></td></tr> |
---|
| 915 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd50112bd16b88c8ad780f4a2b009690"></a><!-- doxytag: member="itpp::Vec::operator-" ref="fd50112bd16b88c8ad780f4a2b009690" args="(const vec &a, const ivec &b)" --> |
---|
| 916 | <a class="el" href="classitpp_1_1Vec.html">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#fd50112bd16b88c8ad780f4a2b009690">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &b)</td></tr> |
---|
| 917 | |
---|
| 918 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for vec and ivec. <br></td></tr> |
---|
| 919 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0aece4c014ba0d6e792d3e8185e7047b"></a><!-- doxytag: member="itpp::Vec::operator*" ref="0aece4c014ba0d6e792d3e8185e7047b" args="(const bvec &a, const vec &b)" --> |
---|
| 920 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0aece4c014ba0d6e792d3e8185e7047b">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 921 | |
---|
| 922 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for bvec and vec. <br></td></tr> |
---|
| 923 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13d69ed73255293b82c0c22a10c29370"></a><!-- doxytag: member="itpp::Vec::operator*" ref="13d69ed73255293b82c0c22a10c29370" args="(const svec &a, const vec &b)" --> |
---|
| 924 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#13d69ed73255293b82c0c22a10c29370">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">svec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 925 | |
---|
| 926 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for svec and vec. <br></td></tr> |
---|
| 927 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6420be28924d9cc4af753688eda9e92"></a><!-- doxytag: member="itpp::Vec::operator*" ref="a6420be28924d9cc4af753688eda9e92" args="(const ivec &a, const vec &b)" --> |
---|
| 928 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#a6420be28924d9cc4af753688eda9e92">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">vec</a> &b)</td></tr> |
---|
| 929 | |
---|
| 930 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for ivec and vec. <br></td></tr> |
---|
| 931 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa2c5cd18ecd4d25b91f82cdef8d9329"></a><!-- doxytag: member="itpp::Vec::operator*" ref="aa2c5cd18ecd4d25b91f82cdef8d9329" args="(const vec &a, const bvec &b)" --> |
---|
| 932 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#aa2c5cd18ecd4d25b91f82cdef8d9329">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &b)</td></tr> |
---|
| 933 | |
---|
| 934 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and bvec. <br></td></tr> |
---|
| 935 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8a92b3c48f6897510bcaff1ceff53d0"></a><!-- doxytag: member="itpp::Vec::operator*" ref="f8a92b3c48f6897510bcaff1ceff53d0" args="(const vec &a, const svec &b)" --> |
---|
| 936 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f8a92b3c48f6897510bcaff1ceff53d0">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">svec</a> &b)</td></tr> |
---|
| 937 | |
---|
| 938 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and svec. <br></td></tr> |
---|
| 939 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4b54eb6ac616e82c736e210b72649376"></a><!-- doxytag: member="itpp::Vec::operator*" ref="4b54eb6ac616e82c736e210b72649376" args="(const vec &a, const ivec &b)" --> |
---|
| 940 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#4b54eb6ac616e82c736e210b72649376">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">vec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &b)</td></tr> |
---|
| 941 | |
---|
| 942 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for vec and ivec. <br></td></tr> |
---|
| 943 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c47f12ba0fbf4507aea83136e02824a5"></a><!-- doxytag: member="itpp::Vec::operator+" ref="c47f12ba0fbf4507aea83136e02824a5" args="(const bvec &a, const cvec &b)" --> |
---|
| 944 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c47f12ba0fbf4507aea83136e02824a5">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 945 | |
---|
| 946 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for bvec and cvec. <br></td></tr> |
---|
| 947 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b3db8f1858d727e653c8d6806ed73f5"></a><!-- doxytag: member="itpp::Vec::operator+" ref="9b3db8f1858d727e653c8d6806ed73f5" args="(const svec &a, const cvec &b)" --> |
---|
| 948 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9b3db8f1858d727e653c8d6806ed73f5">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">svec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 949 | |
---|
| 950 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for svec and cvec. <br></td></tr> |
---|
| 951 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e620eb4e51762c21b1042fd60ba3a58c"></a><!-- doxytag: member="itpp::Vec::operator+" ref="e620eb4e51762c21b1042fd60ba3a58c" args="(const ivec &a, const cvec &b)" --> |
---|
| 952 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#e620eb4e51762c21b1042fd60ba3a58c">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 953 | |
---|
| 954 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for ivec and cvec. <br></td></tr> |
---|
| 955 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2f5cbf8937949ee68ec72afee8bfc7a"></a><!-- doxytag: member="itpp::Vec::operator+" ref="d2f5cbf8937949ee68ec72afee8bfc7a" args="(const cvec &a, const bvec &b)" --> |
---|
| 956 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#d2f5cbf8937949ee68ec72afee8bfc7a">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &b)</td></tr> |
---|
| 957 | |
---|
| 958 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and bvec. <br></td></tr> |
---|
| 959 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f53a77a5aa793f5c08850740dd548269"></a><!-- doxytag: member="itpp::Vec::operator+" ref="f53a77a5aa793f5c08850740dd548269" args="(const cvec &a, const svec &b)" --> |
---|
| 960 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f53a77a5aa793f5c08850740dd548269">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">svec</a> &b)</td></tr> |
---|
| 961 | |
---|
| 962 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and svec. <br></td></tr> |
---|
| 963 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b6387e178f8ffe4fa985c95048f1658"></a><!-- doxytag: member="itpp::Vec::operator+" ref="3b6387e178f8ffe4fa985c95048f1658" args="(const cvec &a, const ivec &b)" --> |
---|
| 964 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#3b6387e178f8ffe4fa985c95048f1658">operator+</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &b)</td></tr> |
---|
| 965 | |
---|
| 966 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Addition operator for cvec and ivec. <br></td></tr> |
---|
| 967 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4dcdc154da7e57940707da2bfcce6e4"></a><!-- doxytag: member="itpp::Vec::operator-" ref="b4dcdc154da7e57940707da2bfcce6e4" args="(const bvec &a, const cvec &b)" --> |
---|
| 968 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#b4dcdc154da7e57940707da2bfcce6e4">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 969 | |
---|
| 970 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for bvec and cvec. <br></td></tr> |
---|
| 971 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5e343a817c590a652d3f3a32c0dc6ba7"></a><!-- doxytag: member="itpp::Vec::operator-" ref="5e343a817c590a652d3f3a32c0dc6ba7" args="(const svec &a, const cvec &b)" --> |
---|
| 972 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#5e343a817c590a652d3f3a32c0dc6ba7">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">svec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 973 | |
---|
| 974 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for svec and cvec. <br></td></tr> |
---|
| 975 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6106c3430565b273ea8ce94ebd5b0f8"></a><!-- doxytag: member="itpp::Vec::operator-" ref="f6106c3430565b273ea8ce94ebd5b0f8" args="(const ivec &a, const cvec &b)" --> |
---|
| 976 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#f6106c3430565b273ea8ce94ebd5b0f8">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 977 | |
---|
| 978 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for ivec and cvec. <br></td></tr> |
---|
| 979 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c83a19c1e742bbbeddf346165c78b896"></a><!-- doxytag: member="itpp::Vec::operator-" ref="c83a19c1e742bbbeddf346165c78b896" args="(const cvec &a, const bvec &b)" --> |
---|
| 980 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#c83a19c1e742bbbeddf346165c78b896">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &b)</td></tr> |
---|
| 981 | |
---|
| 982 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and bvec. <br></td></tr> |
---|
| 983 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c4635caf9ba44539af53ce77b410291"></a><!-- doxytag: member="itpp::Vec::operator-" ref="8c4635caf9ba44539af53ce77b410291" args="(const cvec &a, const svec &b)" --> |
---|
| 984 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8c4635caf9ba44539af53ce77b410291">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">svec</a> &b)</td></tr> |
---|
| 985 | |
---|
| 986 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and svec. <br></td></tr> |
---|
| 987 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ca7863f080949c672212e18944008f8"></a><!-- doxytag: member="itpp::Vec::operator-" ref="8ca7863f080949c672212e18944008f8" args="(const cvec &a, const ivec &b)" --> |
---|
| 988 | <a class="el" href="classitpp_1_1Vec.html">cvec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8ca7863f080949c672212e18944008f8">operator-</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &b)</td></tr> |
---|
| 989 | |
---|
| 990 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtraction operator for cvec and ivec. <br></td></tr> |
---|
| 991 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="974de2b24c9c96c99f43b85d031ed45d"></a><!-- doxytag: member="itpp::Vec::operator*" ref="974de2b24c9c96c99f43b85d031ed45d" args="(const bvec &a, const cvec &b)" --> |
---|
| 992 | std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#974de2b24c9c96c99f43b85d031ed45d">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 993 | |
---|
| 994 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for bvec and cvec. <br></td></tr> |
---|
| 995 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df65f05e18f12edbfac8d0f92b656a41"></a><!-- doxytag: member="itpp::Vec::operator*" ref="df65f05e18f12edbfac8d0f92b656a41" args="(const svec &a, const cvec &b)" --> |
---|
| 996 | std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#df65f05e18f12edbfac8d0f92b656a41">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">svec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 997 | |
---|
| 998 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for svec and cvec. <br></td></tr> |
---|
| 999 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b9a4889156c612a0592c2e86969cb46"></a><!-- doxytag: member="itpp::Vec::operator*" ref="9b9a4889156c612a0592c2e86969cb46" args="(const ivec &a, const cvec &b)" --> |
---|
| 1000 | std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#9b9a4889156c612a0592c2e86969cb46">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &b)</td></tr> |
---|
| 1001 | |
---|
| 1002 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for ivec and cvec. <br></td></tr> |
---|
| 1003 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7333c7fe6e0a7f1d7bc3f84521c7356d"></a><!-- doxytag: member="itpp::Vec::operator*" ref="7333c7fe6e0a7f1d7bc3f84521c7356d" args="(const cvec &a, const bvec &b)" --> |
---|
| 1004 | std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7333c7fe6e0a7f1d7bc3f84521c7356d">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">bvec</a> &b)</td></tr> |
---|
| 1005 | |
---|
| 1006 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and bvec. <br></td></tr> |
---|
| 1007 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8762cc27147d1512ecd383edfc0bcdfb"></a><!-- doxytag: member="itpp::Vec::operator*" ref="8762cc27147d1512ecd383edfc0bcdfb" args="(const cvec &a, const svec &b)" --> |
---|
| 1008 | std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8762cc27147d1512ecd383edfc0bcdfb">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">svec</a> &b)</td></tr> |
---|
| 1009 | |
---|
| 1010 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and svec. <br></td></tr> |
---|
| 1011 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7d5c8e9e7f8df1d936bff5b4018b1595"></a><!-- doxytag: member="itpp::Vec::operator*" ref="7d5c8e9e7f8df1d936bff5b4018b1595" args="(const cvec &a, const ivec &b)" --> |
---|
| 1012 | std::complex< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#7d5c8e9e7f8df1d936bff5b4018b1595">operator*</a> (const <a class="el" href="classitpp_1_1Vec.html">cvec</a> &a, const <a class="el" href="classitpp_1_1Vec.html">ivec</a> &b)</td></tr> |
---|
| 1013 | |
---|
| 1014 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Multiplication operator for cvec and ivec. <br></td></tr> |
---|
| 1015 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
| 1016 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#6d62d1911501ca2b7884c7506eb17125">sort</a> (<a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &<a class="el" href="classitpp_1_1Vec.html#6a4144a82cbf195a37f6ca2eb4c1f5f8">data</a>, SORTING_METHOD method=INTROSORT)</td></tr> |
---|
| 1017 | |
---|
| 1018 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classitpp_1_1Sort.html" title="Class for sorting of vectors.">Sort</a> the <em>data</em> vector in increasing order. <a href="#6d62d1911501ca2b7884c7506eb17125"></a><br></td></tr> |
---|
| 1019 | <tr><td class="memTemplParams" nowrap colspan="2">template<class T > </td></tr> |
---|
| 1020 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">ivec</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0d210c6511931cde784bb4e6d92852ba">sort_index</a> (const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > &<a class="el" href="classitpp_1_1Vec.html#6a4144a82cbf195a37f6ca2eb4c1f5f8">data</a>, SORTING_METHOD method=INTROSORT)</td></tr> |
---|
| 1021 | |
---|
| 1022 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return an index vector corresponding to a sorted vector <em>data</em> in increasing order. <a href="#0d210c6511931cde784bb4e6d92852ba"></a><br></td></tr> |
---|
| 1023 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="39b0a99c2c13ce719102c3f348d36fa3"></a><!-- doxytag: member="itpp::Vec::vec_1" ref="39b0a99c2c13ce719102c3f348d36fa3" args="(T v0)" --> |
---|
| 1024 | template<class T > </td></tr> |
---|
| 1025 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#39b0a99c2c13ce719102c3f348d36fa3">vec_1</a> (T v0)</td></tr> |
---|
| 1026 | |
---|
| 1027 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of length 1. <br></td></tr> |
---|
| 1028 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0a4cc56fac86f6ea2cdd71d04dacbe5e"></a><!-- doxytag: member="itpp::Vec::vec_2" ref="0a4cc56fac86f6ea2cdd71d04dacbe5e" args="(T v0, T v1)" --> |
---|
| 1029 | template<class T > </td></tr> |
---|
| 1030 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#0a4cc56fac86f6ea2cdd71d04dacbe5e">vec_2</a> (T v0, T v1)</td></tr> |
---|
| 1031 | |
---|
| 1032 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of length 2. <br></td></tr> |
---|
| 1033 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="1fb035a69c12839ba58b008070f41038"></a><!-- doxytag: member="itpp::Vec::vec_3" ref="1fb035a69c12839ba58b008070f41038" args="(T v0, T v1, T v2)" --> |
---|
| 1034 | template<class T > </td></tr> |
---|
| 1035 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#1fb035a69c12839ba58b008070f41038">vec_3</a> (T v0, T v1, T v2)</td></tr> |
---|
| 1036 | |
---|
| 1037 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of length 3. <br></td></tr> |
---|
| 1038 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="8e46d31332b26eb2c4413bf1ac0b6520"></a><!-- doxytag: member="itpp::Vec::operator<<" ref="8e46d31332b26eb2c4413bf1ac0b6520" args="(std::ostream &os, const Vec< Num_T > &v)" --> |
---|
| 1039 | template<class Num_T > </td></tr> |
---|
| 1040 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#8e46d31332b26eb2c4413bf1ac0b6520">operator<<</a> (std::ostream &os, const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 1041 | |
---|
| 1042 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Stream output of vector. <br></td></tr> |
---|
| 1043 | <tr><td class="memTemplParams" nowrap colspan="2">template<class Num_T > </td></tr> |
---|
| 1044 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">std::istream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classitpp_1_1Vec.html#44a1edb263386e309ad22dfe1c8b73cd">operator>></a> (std::istream &is, <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > &v)</td></tr> |
---|
| 1045 | |
---|
| 1046 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Stream input of vector. <a href="#44a1edb263386e309ad22dfe1c8b73cd"></a><br></td></tr> |
---|
| 1047 | </table> |
---|
| 1048 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 1049 | <h3>template<class Num_T><br> |
---|
| 1050 | class itpp::Vec< Num_T ></h3> |
---|
| 1051 | |
---|
| 1052 | Vector Class (Templated). |
---|
| 1053 | <p> |
---|
| 1054 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Tony Ottosson, Tobias Ringstrom, Adam Piatyszek and Conrad Sanderson</dd></dl> |
---|
| 1055 | Vectors can be of arbitrary types, but conversions and functions are prepared for <code><a class="el" href="classitpp_1_1bin.html" title="Binary arithmetic (boolean) class.">bin</a></code>, <code>short</code>, <code>int</code>, <code>double</code>, and <code>complex<double></code> vectors and these are predefined as: <code>bvec</code>, <code>svec</code>, <code>ivec</code>, <code>vec</code>, and <code>cvec</code>. <code>double</code> and <code>complex<double></code> are <code>double</code> and <code>complex<double></code> respectively.<p> |
---|
| 1056 | Examples:<p> |
---|
| 1057 | Vector Constructors: When constructing a vector without a length (memory) use <div class="fragment"><pre class="fragment"> <a class="code" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4" title="Definition of double vector type.">vec</a> temp; |
---|
| 1058 | </pre></div> For construction of a vector of a given length use <div class="fragment"><pre class="fragment"> <a class="code" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4" title="Definition of double vector type.">vec</a> temp(<a class="code" href="classitpp_1_1Vec.html#44478ea086eda22a180102e77e352325" title="The size of the vector.">length</a>); |
---|
| 1059 | </pre></div> It is also possible to assign the constructed vector the value and size of another vector by <div class="fragment"><pre class="fragment"> <a class="code" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4" title="Definition of double vector type.">vec</a> temp(invector); |
---|
| 1060 | </pre></div> If you have explicit values you would like to assign to the vector it is possible to do this using strings as: <div class="fragment"><pre class="fragment"> <a class="code" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4" title="Definition of double vector type.">vec</a> a(<span class="stringliteral">"0 0.7 5 9.3"</span>); <span class="comment">// that is a = [0, 0.7, 5, 9.3]</span> |
---|
| 1061 | <a class="code" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4" title="Definition of double vector type.">vec</a> a=<span class="stringliteral">"0 0.7 5 9.3"</span>; <span class="comment">// the constructor is called implicitly</span> |
---|
| 1062 | <a class="code" href="classitpp_1_1Vec.html#b03757d874926a9be91535e71af1656e" title="Definition of integer vector type.">ivec</a> b=<span class="stringliteral">"0:5"</span>; <span class="comment">// that is, b = [0, 1, 2, 3, 4, 5]</span> |
---|
| 1063 | <a class="code" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4" title="Definition of double vector type.">vec</a> c=<span class="stringliteral">"3:2.5:13"</span>; <span class="comment">// that is, c = [3, 5.5, 8, 10.5, 13]</span> |
---|
| 1064 | </pre></div> It is also possible to change length by <div class="fragment"><pre class="fragment"> temp.set_size(new_length, <span class="keyword">false</span>); |
---|
| 1065 | </pre></div> where <code>false</code> is used to indicate that the old values in <code>temp</code> are not copied. If you would like to preserve the values, use <code>true</code>.<p> |
---|
| 1066 | There are a number of methods to access parts of a vector. Examples are <div class="fragment"><pre class="fragment"> a(5); <span class="comment">// Element number 5</span> |
---|
| 1067 | a(5,9); <span class="comment">// Elements 5, 6, 7, 8, and 9</span> |
---|
| 1068 | a.left(10); <span class="comment">// The 10 leftmost elements (the first)</span> |
---|
| 1069 | a.right(10); <span class="comment">// The 10 rightmost elements (the last)</span> |
---|
| 1070 | a.mid(5, 7); <span class="comment">// 7 elements starting from element 5</span> |
---|
| 1071 | </pre></div><p> |
---|
| 1072 | It is also possible to modify parts of a vector, as in e.g. <div class="fragment"><pre class="fragment"> a.del(5); <span class="comment">// deletes element number 5</span> |
---|
| 1073 | a.ins(3.4, 9); <span class="comment">// inserts the element 3.4 at position 9</span> |
---|
| 1074 | a.set_subvector(12, b); <span class="comment">// replaces elements from 12 with the vector b</span> |
---|
| 1075 | </pre></div><p> |
---|
| 1076 | It is, of course, also possible to perform common linear algebra operations, such as addition, subtraction, and scalar product (*). Observe though, that vectors are assumed to be column-vectors in operations with matrices.<p> |
---|
| 1077 | Most elementary functions such as <a class="el" href="group__trifunc.html#g04eb00778bdb524ad2f5ed808caddb7e" title="Sine function.">sin()</a>, <a class="el" href="group__hypfunc.html#gd8c581c3fc2b05e390f90e411159409f" title="Cosine hyperbolic function.">cosh()</a>, <a class="el" href="group__logexpfunc.html#g60e39caa21db1b5f9f6006cf7508fbcb" title="The natural logarithm of the elements.">log()</a>, abs(), ..., are also available as operations on the individual elements of the vectors. Please see the individual functions for more details.<p> |
---|
| 1078 | By default, the <a class="el" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">Vec</a> elements are created using the default constructor for the element type. This can be changed by specifying a suitable <a class="el" href="classitpp_1_1Factory.html" title="Base class for class factories.">Factory</a> in the <a class="el" href="classitpp_1_1Vec.html" title="Vector Class (Templated).">Vec</a> constructor call; see Detailed Description for <a class="el" href="classitpp_1_1Factory.html" title="Base class for class factories.">Factory</a>. <hr><h2>Member Function Documentation</h2> |
---|
| 1079 | <a class="anchor" name="a32b5e3559e438675d43ee0c76691c5a"></a><!-- doxytag: member="itpp::Vec::split" ref="a32b5e3559e438675d43ee0c76691c5a" args="(int pos)" --> |
---|
| 1080 | <div class="memitem"> |
---|
| 1081 | <div class="memproto"> |
---|
| 1082 | <div class="memtemplate"> |
---|
| 1083 | template<class Num_T > </div> |
---|
| 1084 | <table class="memname"> |
---|
| 1085 | <tr> |
---|
| 1086 | <td class="memname"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > <a class="el" href="classitpp_1_1Vec.html">itpp::Vec</a>< Num_T >::split </td> |
---|
| 1087 | <td>(</td> |
---|
| 1088 | <td class="paramtype">int </td> |
---|
| 1089 | <td class="paramname"> <em>pos</em> </td> |
---|
| 1090 | <td> ) </td> |
---|
| 1091 | <td><code> [inline]</code></td> |
---|
| 1092 | </tr> |
---|
| 1093 | </table> |
---|
| 1094 | </div> |
---|
| 1095 | <div class="memdoc"> |
---|
| 1096 | |
---|
| 1097 | <p> |
---|
| 1098 | Split the vector into two parts at element <code>pos</code>. |
---|
| 1099 | <p> |
---|
| 1100 | Return the first part containing elements 0 to <code>pos-1</code>, and keep the second part containing the remaining elements starting from <code>pos</code> (empty vector if <code>pos</code> is equal to the length of the vector). |
---|
| 1101 | <p>References <a class="el" href="vec_8h-source.html#l00518">itpp::Vec< Num_T >::data</a>, <a class="el" href="vec_8h-source.html#l00516">itpp::Vec< Num_T >::datasize</a>, <a class="el" href="itassert_8h-source.html#l00107">it_assert_debug</a>, and <a class="el" href="vec_8h-source.html#l00676">itpp::Vec< Num_T >::set_size()</a>.</p> |
---|
| 1102 | |
---|
| 1103 | </div> |
---|
| 1104 | </div><p> |
---|
| 1105 | <hr><h2>Friends And Related Function Documentation</h2> |
---|
| 1106 | <a class="anchor" name="44a1edb263386e309ad22dfe1c8b73cd"></a><!-- doxytag: member="itpp::Vec::operator>>" ref="44a1edb263386e309ad22dfe1c8b73cd" args="(std::istream &is, Vec< Num_T > &v)" --> |
---|
| 1107 | <div class="memitem"> |
---|
| 1108 | <div class="memproto"> |
---|
| 1109 | <div class="memtemplate"> |
---|
| 1110 | template<class Num_T > </div> |
---|
| 1111 | <table class="memname"> |
---|
| 1112 | <tr> |
---|
| 1113 | <td class="memname">std::istream & operator>> </td> |
---|
| 1114 | <td>(</td> |
---|
| 1115 | <td class="paramtype">std::istream & </td> |
---|
| 1116 | <td class="paramname"> <em>is</em>, </td> |
---|
| 1117 | </tr> |
---|
| 1118 | <tr> |
---|
| 1119 | <td class="paramkey"></td> |
---|
| 1120 | <td></td> |
---|
| 1121 | <td class="paramtype"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td> |
---|
| 1122 | <td class="paramname"> <em>v</em></td><td> </td> |
---|
| 1123 | </tr> |
---|
| 1124 | <tr> |
---|
| 1125 | <td></td> |
---|
| 1126 | <td>)</td> |
---|
| 1127 | <td></td><td></td><td><code> [related]</code></td> |
---|
| 1128 | </tr> |
---|
| 1129 | </table> |
---|
| 1130 | </div> |
---|
| 1131 | <div class="memdoc"> |
---|
| 1132 | |
---|
| 1133 | <p> |
---|
| 1134 | Stream input of vector. |
---|
| 1135 | <p> |
---|
| 1136 | The input can be on the form "1 2 3" or "[1 2 3]", i.e. with or without brackets. The first form is compatible with the set method, while the second form is compatible with the ostream operator. The elements can be separated by blank space or commas. "[]" means an empty vector. "1:4" means "1 2 3 4". "1:3:10" means every third integer from 1 to 10, i.e. "1 4 7 10". |
---|
| 1137 | </div> |
---|
| 1138 | </div><p> |
---|
| 1139 | <a class="anchor" name="0388790e26b74aaf29b5efa78a0ac50b"></a><!-- doxytag: member="itpp::Vec::outer_product" ref="0388790e26b74aaf29b5efa78a0ac50b" args="(const Vec< Num_T > &v1, const Vec< Num_T > &v2, bool hermitian)" --> |
---|
| 1140 | <div class="memitem"> |
---|
| 1141 | <div class="memproto"> |
---|
| 1142 | <div class="memtemplate"> |
---|
| 1143 | template<class Num_T> </div> |
---|
| 1144 | <table class="memname"> |
---|
| 1145 | <tr> |
---|
| 1146 | <td class="memname"><a class="el" href="classitpp_1_1Mat.html">Mat</a><Num_T> outer_product </td> |
---|
| 1147 | <td>(</td> |
---|
| 1148 | <td class="paramtype">const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td> |
---|
| 1149 | <td class="paramname"> <em>v1</em>, </td> |
---|
| 1150 | </tr> |
---|
| 1151 | <tr> |
---|
| 1152 | <td class="paramkey"></td> |
---|
| 1153 | <td></td> |
---|
| 1154 | <td class="paramtype">const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< Num_T > & </td> |
---|
| 1155 | <td class="paramname"> <em>v2</em>, </td> |
---|
| 1156 | </tr> |
---|
| 1157 | <tr> |
---|
| 1158 | <td class="paramkey"></td> |
---|
| 1159 | <td></td> |
---|
| 1160 | <td class="paramtype">bool </td> |
---|
| 1161 | <td class="paramname"> <em>hermitian</em> = <code>false</code></td><td> </td> |
---|
| 1162 | </tr> |
---|
| 1163 | <tr> |
---|
| 1164 | <td></td> |
---|
| 1165 | <td>)</td> |
---|
| 1166 | <td></td><td></td><td><code> [friend]</code></td> |
---|
| 1167 | </tr> |
---|
| 1168 | </table> |
---|
| 1169 | </div> |
---|
| 1170 | <div class="memdoc"> |
---|
| 1171 | |
---|
| 1172 | <p> |
---|
| 1173 | Outer product of two vectors v1 and v2. |
---|
| 1174 | <p> |
---|
| 1175 | When <em>v1</em> and <em>v2</em> are complex vectors (cvec), the third boolean argument <em>hermitian</em> can be set to <em>true</em> to conjugate <em>v2</em> (Matlab's v1 * v2' operation). This parameter is ignored for types other then cvec. |
---|
| 1176 | </div> |
---|
| 1177 | </div><p> |
---|
| 1178 | <a class="anchor" name="6d62d1911501ca2b7884c7506eb17125"></a><!-- doxytag: member="itpp::Vec::sort" ref="6d62d1911501ca2b7884c7506eb17125" args="(Vec< T > &data, SORTING_METHOD method=INTROSORT)" --> |
---|
| 1179 | <div class="memitem"> |
---|
| 1180 | <div class="memproto"> |
---|
| 1181 | <div class="memtemplate"> |
---|
| 1182 | template<class T > </div> |
---|
| 1183 | <table class="memname"> |
---|
| 1184 | <tr> |
---|
| 1185 | <td class="memname">void sort </td> |
---|
| 1186 | <td>(</td> |
---|
| 1187 | <td class="paramtype"><a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > & </td> |
---|
| 1188 | <td class="paramname"> <em>data</em>, </td> |
---|
| 1189 | </tr> |
---|
| 1190 | <tr> |
---|
| 1191 | <td class="paramkey"></td> |
---|
| 1192 | <td></td> |
---|
| 1193 | <td class="paramtype">SORTING_METHOD </td> |
---|
| 1194 | <td class="paramname"> <em>method</em> = <code>INTROSORT</code></td><td> </td> |
---|
| 1195 | </tr> |
---|
| 1196 | <tr> |
---|
| 1197 | <td></td> |
---|
| 1198 | <td>)</td> |
---|
| 1199 | <td></td><td></td><td><code> [related]</code></td> |
---|
| 1200 | </tr> |
---|
| 1201 | </table> |
---|
| 1202 | </div> |
---|
| 1203 | <div class="memdoc"> |
---|
| 1204 | |
---|
| 1205 | <p> |
---|
| 1206 | <a class="el" href="classitpp_1_1Sort.html" title="Class for sorting of vectors.">Sort</a> the <em>data</em> vector in increasing order. |
---|
| 1207 | <p> |
---|
| 1208 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1209 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1210 | <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>Vector to be sorted </td></tr> |
---|
| 1211 | <tr><td valign="top"></td><td valign="top"><em>method</em> </td><td>Sorting method: INTROSORT (default), QUICKSORT, HEAPSORT or INSERTSORT </td></tr> |
---|
| 1212 | </table> |
---|
| 1213 | </dl> |
---|
| 1214 | |
---|
| 1215 | <p>References <a class="el" href="vec_8h-source.html#l00277">itpp::Vec< Num_T >::size()</a>, and <a class="el" href="sort_8h-source.html#l00215">itpp::Sort< T >::sort()</a>.</p> |
---|
| 1216 | |
---|
| 1217 | </div> |
---|
| 1218 | </div><p> |
---|
| 1219 | <a class="anchor" name="0d210c6511931cde784bb4e6d92852ba"></a><!-- doxytag: member="itpp::Vec::sort_index" ref="0d210c6511931cde784bb4e6d92852ba" args="(const Vec< T > &data, SORTING_METHOD method=INTROSORT)" --> |
---|
| 1220 | <div class="memitem"> |
---|
| 1221 | <div class="memproto"> |
---|
| 1222 | <div class="memtemplate"> |
---|
| 1223 | template<class T > </div> |
---|
| 1224 | <table class="memname"> |
---|
| 1225 | <tr> |
---|
| 1226 | <td class="memname"><a class="el" href="classitpp_1_1Vec.html">ivec</a> sort_index </td> |
---|
| 1227 | <td>(</td> |
---|
| 1228 | <td class="paramtype">const <a class="el" href="classitpp_1_1Vec.html">Vec</a>< T > & </td> |
---|
| 1229 | <td class="paramname"> <em>data</em>, </td> |
---|
| 1230 | </tr> |
---|
| 1231 | <tr> |
---|
| 1232 | <td class="paramkey"></td> |
---|
| 1233 | <td></td> |
---|
| 1234 | <td class="paramtype">SORTING_METHOD </td> |
---|
| 1235 | <td class="paramname"> <em>method</em> = <code>INTROSORT</code></td><td> </td> |
---|
| 1236 | </tr> |
---|
| 1237 | <tr> |
---|
| 1238 | <td></td> |
---|
| 1239 | <td>)</td> |
---|
| 1240 | <td></td><td></td><td><code> [related]</code></td> |
---|
| 1241 | </tr> |
---|
| 1242 | </table> |
---|
| 1243 | </div> |
---|
| 1244 | <div class="memdoc"> |
---|
| 1245 | |
---|
| 1246 | <p> |
---|
| 1247 | Return an index vector corresponding to a sorted vector <em>data</em> in increasing order. |
---|
| 1248 | <p> |
---|
| 1249 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 1250 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 1251 | <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>Vector for which to return a sorted index vector </td></tr> |
---|
| 1252 | <tr><td valign="top"></td><td valign="top"><em>method</em> </td><td>Sorting method: INTROSORT (default), QUICKSORT, HEAPSORT or INSERTSORT </td></tr> |
---|
| 1253 | </table> |
---|
| 1254 | </dl> |
---|
| 1255 | |
---|
| 1256 | <p>References <a class="el" href="vec_8h-source.html#l00277">itpp::Vec< Num_T >::size()</a>, and <a class="el" href="sort_8h-source.html#l00245">itpp::Sort< T >::sort_index()</a>.</p> |
---|
| 1257 | |
---|
| 1258 | </div> |
---|
| 1259 | </div><p> |
---|
| 1260 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 1261 | <li><a class="el" href="vec_8h-source.html">vec.h</a><li><a class="el" href="converters_8h-source.html">converters.h</a><li><a class="el" href="matfunc_8h-source.html">matfunc.h</a><li><a class="el" href="operators_8h-source.html">operators.h</a><li><a class="el" href="sort_8h-source.html">sort.h</a><li><a class="el" href="specmat_8h-source.html">specmat.h</a><li><a class="el" href="cfix_8cpp.html">cfix.cpp</a><li><a class="el" href="cfix_8h-source.html">cfix.h</a><li><a class="el" href="fix_8cpp.html">fix.cpp</a><li><a class="el" href="fix_8h-source.html">fix.h</a></ul> |
---|
| 1262 | </div> |
---|
| 1263 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:19 2009 for mixpp by |
---|
| 1264 | <a href="http://www.doxygen.org/index.html"> |
---|
| 1265 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
| 1266 | </body> |
---|
| 1267 | </html> |
---|