[8] | 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: RV Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
[139] | 7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
[91] | 8 | <div class="navigation" id="top"> |
---|
| 9 | <div class="tabs"> |
---|
| 10 | <ul> |
---|
| 11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[219] | 13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
[91] | 14 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 15 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 16 | </ul> |
---|
| 17 | </div> |
---|
| 18 | <div class="tabs"> |
---|
| 19 | <ul> |
---|
| 20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 23 | </ul> |
---|
| 24 | </div> |
---|
[8] | 25 | </div> |
---|
[91] | 26 | <div class="contents"> |
---|
[219] | 27 | <h1>RV Class Reference<br> |
---|
| 28 | <small> |
---|
| 29 | [<a class="el" href="group__core.html">Core BDM classes</a>]</small> |
---|
| 30 | </h1><!-- doxytag: class="RV" -->Class representing variables, most often random variables. |
---|
[8] | 31 | <a href="#_details">More...</a> |
---|
| 32 | <p> |
---|
| 33 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> |
---|
| 34 | <p> |
---|
| 35 | |
---|
| 36 | <p> |
---|
| 37 | <a href="classRV-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 38 | <tr><td></td></tr> |
---|
| 39 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
[162] | 40 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bedfd8d197f0a7ac28a4d412dfc5b8af"></a><!-- doxytag: member="RV::RV" ref="bedfd8d197f0a7ac28a4d412dfc5b8af" args="(Array< std::string > in_names, ivec in_sizes, ivec in_times)" --> |
---|
| 41 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#bedfd8d197f0a7ac28a4d412dfc5b8af">RV</a> (Array< std::string > in_names, ivec in_sizes, ivec in_times)</td></tr> |
---|
[8] | 42 | |
---|
[162] | 43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Full constructor. <br></td></tr> |
---|
| 44 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b88a74204fdf044e02f2807769839b7"></a><!-- doxytag: member="RV::RV" ref="7b88a74204fdf044e02f2807769839b7" args="(Array< std::string > in_names, ivec in_sizes)" --> |
---|
| 45 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#7b88a74204fdf044e02f2807769839b7">RV</a> (Array< std::string > in_names, ivec in_sizes)</td></tr> |
---|
[8] | 46 | |
---|
[162] | 47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor with times=0. <br></td></tr> |
---|
| 48 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="261702f85831392d7d67e2bcf0b69960"></a><!-- doxytag: member="RV::RV" ref="261702f85831392d7d67e2bcf0b69960" args="(Array< std::string > in_names)" --> |
---|
| 49 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#261702f85831392d7d67e2bcf0b69960">RV</a> (Array< std::string > in_names)</td></tr> |
---|
| 50 | |
---|
| 51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor with sizes=1, times=0. <br></td></tr> |
---|
[8] | 52 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6a22f5c06d6403870d4e414b1993bf9e"></a><!-- doxytag: member="RV::RV" ref="6a22f5c06d6403870d4e414b1993bf9e" args="()" --> |
---|
| 53 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#6a22f5c06d6403870d4e414b1993bf9e">RV</a> ()</td></tr> |
---|
| 54 | |
---|
[162] | 55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor of empty <a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr> |
---|
[22] | 56 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5c7b8bd589eef09ccdf3329a0addea0"></a><!-- doxytag: member="RV::count" ref="f5c7b8bd589eef09ccdf3329a0addea0" args="() const " --> |
---|
| 57 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0">count</a> () const </td></tr> |
---|
[8] | 58 | |
---|
[91] | 59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return number of scalars in the <a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr> |
---|
| 60 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c114a6f3ff06796cc2f4dacba74291eb"></a><!-- doxytag: member="RV::length" ref="c114a6f3ff06796cc2f4dacba74291eb" args="() const " --> |
---|
| 61 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#c114a6f3ff06796cc2f4dacba74291eb">length</a> () const </td></tr> |
---|
| 62 | |
---|
| 63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return length (number of entries) of the <a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr> |
---|
[162] | 64 | <tr><td class="memItemLeft" nowrap align="right" valign="top">ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#0c493a7a897f4d75682f4264e40779a1">findself</a> (const <a class="el" href="classRV.html">RV</a> &rv2) const </td></tr> |
---|
[8] | 65 | |
---|
[162] | 66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Find indexes of self in another rv,. <a href="#0c493a7a897f4d75682f4264e40779a1"></a><br></td></tr> |
---|
| 67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82cc7fa22ce91cf461a522ad62014c65"></a><!-- doxytag: member="RV::equal" ref="82cc7fa22ce91cf461a522ad62014c65" args="(const RV &rv2) const " --> |
---|
| 68 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#82cc7fa22ce91cf461a522ad62014c65">equal</a> (const <a class="el" href="classRV.html">RV</a> &rv2) const </td></tr> |
---|
[106] | 69 | |
---|
| 70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare if <code>rv2</code> is identical to this <code><a class="el" href="classRV.html" title="Class representing variables, most often random variables.">RV</a></code>. <br></td></tr> |
---|
[162] | 71 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb">add</a> (const <a class="el" href="classRV.html">RV</a> &rv2)</td></tr> |
---|
[8] | 72 | |
---|
[162] | 73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add (concat) another variable to the current one,. <a href="#935790526b630dec4ffefa9ec0c2b6fb"></a><br></td></tr> |
---|
[180] | 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9d175c327c21488b1e2fb756a84e149"></a><!-- doxytag: member="RV::subt" ref="b9d175c327c21488b1e2fb756a84e149" args="(const RV &rv2) const " --> |
---|
| 75 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b9d175c327c21488b1e2fb756a84e149">subt</a> (const <a class="el" href="classRV.html">RV</a> &rv2) const </td></tr> |
---|
[8] | 76 | |
---|
| 77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtract another variable from the current one. <br></td></tr> |
---|
[180] | 78 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b26d25a122be3303806af7726a625a0f"></a><!-- doxytag: member="RV::subselect" ref="b26d25a122be3303806af7726a625a0f" args="(const ivec &ind) const " --> |
---|
| 79 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b26d25a122be3303806af7726a625a0f">subselect</a> (const ivec &ind) const </td></tr> |
---|
[8] | 80 | |
---|
| 81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr> |
---|
[180] | 82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="248dfb2387976db2658489347669278c"></a><!-- doxytag: member="RV::operator()" ref="248dfb2387976db2658489347669278c" args="(const ivec &ind) const " --> |
---|
| 83 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#248dfb2387976db2658489347669278c">operator()</a> (const ivec &ind) const </td></tr> |
---|
[8] | 84 | |
---|
| 85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr> |
---|
| 86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0a158d53ab9430627241f844f4c9a60"></a><!-- doxytag: member="RV::t" ref="e0a158d53ab9430627241f844f4c9a60" args="(int delta)" --> |
---|
| 87 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#e0a158d53ab9430627241f844f4c9a60">t</a> (int delta)</td></tr> |
---|
| 88 | |
---|
[162] | 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shift <code>time</code> shifted by delta. <br></td></tr> |
---|
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52f3ade796814da627ff5a44d00986be"></a><!-- doxytag: member="RV::tostr" ref="52f3ade796814da627ff5a44d00986be" args="() const " --> |
---|
| 91 | <a class="el" href="classstr.html">str</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#52f3ade796814da627ff5a44d00986be">tostr</a> () const </td></tr> |
---|
[22] | 92 | |
---|
[181] | 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">generate <code><a class="el" href="classstr.html" title="Structure of RV (used internally), i.e. expanded RVs.">str</a></code> from rv, by expanding sizes <br></td></tr> |
---|
[180] | 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top">ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> (const <a class="el" href="classRV.html">RV</a> &crv) const </td></tr> |
---|
[162] | 95 | |
---|
[210] | 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#777a5d87f2b95a60a7de467d7817f16e">dataind</a> (const <a class="el" href="classRV.html">RV</a> &rv2, ivec &selfi, ivec &rv2i) const </td></tr> |
---|
| 97 | |
---|
[79] | 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b88ef5124713c9e30fd9446846b3f044"></a><!-- doxytag: member="RV::_names" ref="b88ef5124713c9e30fd9446846b3f044" args="()" --> |
---|
| 99 | Array< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#b88ef5124713c9e30fd9446846b3f044">_names</a> ()</td></tr> |
---|
| 100 | |
---|
| 101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[91] | 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a0069bc69f5a98d7ce9ed59077f2e6c"></a><!-- doxytag: member="RV::id" ref="4a0069bc69f5a98d7ce9ed59077f2e6c" args="(int at)" --> |
---|
| 103 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#4a0069bc69f5a98d7ce9ed59077f2e6c">id</a> (int at)</td></tr> |
---|
| 104 | |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="20db23a5585d64a6e24404cc8379bc28"></a><!-- doxytag: member="RV::size" ref="20db23a5585d64a6e24404cc8379bc28" args="(int at)" --> |
---|
| 107 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#20db23a5585d64a6e24404cc8379bc28">size</a> (int at)</td></tr> |
---|
| 108 | |
---|
| 109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af068cf478864fe1a4fbfc6b4693b088"></a><!-- doxytag: member="RV::time" ref="af068cf478864fe1a4fbfc6b4693b088" args="(int at)" --> |
---|
| 111 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#af068cf478864fe1a4fbfc6b4693b088">time</a> (int at)</td></tr> |
---|
| 112 | |
---|
| 113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 114 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ae4dd6e368f814a02710636ac8e1721"></a><!-- doxytag: member="RV::name" ref="3ae4dd6e368f814a02710636ac8e1721" args="(int at)" --> |
---|
| 115 | std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#3ae4dd6e368f814a02710636ac8e1721">name</a> (int at)</td></tr> |
---|
| 116 | |
---|
| 117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[180] | 118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f58db96c9f5b8a538e26f154b1047c62"></a><!-- doxytag: member="RV::set_id" ref="f58db96c9f5b8a538e26f154b1047c62" args="(int at, int id0)" --> |
---|
| 119 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f58db96c9f5b8a538e26f154b1047c62">set_id</a> (int at, int id0)</td></tr> |
---|
| 120 | |
---|
| 121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70b24c39c5130b1e4753fa2eef495433"></a><!-- doxytag: member="RV::set_size" ref="70b24c39c5130b1e4753fa2eef495433" args="(int at, int size0)" --> |
---|
| 123 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#70b24c39c5130b1e4753fa2eef495433">set_size</a> (int at, int size0)</td></tr> |
---|
| 124 | |
---|
| 125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
| 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af668289c016d12ac2a9ddb85416006b"></a><!-- doxytag: member="RV::set_time" ref="af668289c016d12ac2a9ddb85416006b" args="(int at, int time0)" --> |
---|
| 127 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#af668289c016d12ac2a9ddb85416006b">set_time</a> (int at, int time0)</td></tr> |
---|
| 128 | |
---|
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[171] | 130 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc4a3175ff678cba7ae4109654f66ce5"></a><!-- doxytag: member="RV::newids" ref="fc4a3175ff678cba7ae4109654f66ce5" args="()" --> |
---|
| 131 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#fc4a3175ff678cba7ae4109654f66ce5">newids</a> ()</td></tr> |
---|
| 132 | |
---|
| 133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign unused ids to this rv. <br></td></tr> |
---|
[32] | 134 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
[91] | 135 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f2396efe2e6d656ebe9e6f06018cbe25"></a><!-- doxytag: member="RV::tsize" ref="f2396efe2e6d656ebe9e6f06018cbe25" args="" --> |
---|
| 136 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#f2396efe2e6d656ebe9e6f06018cbe25">tsize</a></td></tr> |
---|
[32] | 137 | |
---|
| 138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size = sum of sizes <br></td></tr> |
---|
| 139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0d7b36e2bbccf880c8fcf1e8cc43c1a9"></a><!-- doxytag: member="RV::len" ref="0d7b36e2bbccf880c8fcf1e8cc43c1a9" args="" --> |
---|
| 140 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#0d7b36e2bbccf880c8fcf1e8cc43c1a9">len</a></td></tr> |
---|
| 141 | |
---|
| 142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">len = number of individual rvs <br></td></tr> |
---|
| 143 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bd7165140f4b880a7f344bbb1c433f9"></a><!-- doxytag: member="RV::ids" ref="1bd7165140f4b880a7f344bbb1c433f9" args="" --> |
---|
[33] | 144 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#1bd7165140f4b880a7f344bbb1c433f9">ids</a></td></tr> |
---|
[32] | 145 | |
---|
[33] | 146 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of unique IDs. <br></td></tr> |
---|
[32] | 147 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c878aab13f34b420e1eb5b485563682b"></a><!-- doxytag: member="RV::sizes" ref="c878aab13f34b420e1eb5b485563682b" args="" --> |
---|
[33] | 148 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#c878aab13f34b420e1eb5b485563682b">sizes</a></td></tr> |
---|
[32] | 149 | |
---|
[33] | 150 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of sizes. <br></td></tr> |
---|
[32] | 151 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="646e530c47a2dd38254b778d9f11ac89"></a><!-- doxytag: member="RV::times" ref="646e530c47a2dd38254b778d9f11ac89" args="" --> |
---|
[33] | 152 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#646e530c47a2dd38254b778d9f11ac89">times</a></td></tr> |
---|
[32] | 153 | |
---|
[33] | 154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of shifts from current time. <br></td></tr> |
---|
[32] | 155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="df5d0030b277a1db2f1fd5fb79152acb"></a><!-- doxytag: member="RV::names" ref="df5d0030b277a1db2f1fd5fb79152acb" args="" --> |
---|
[33] | 156 | Array< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#df5d0030b277a1db2f1fd5fb79152acb">names</a></td></tr> |
---|
[32] | 157 | |
---|
[33] | 158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Array of names. <br></td></tr> |
---|
[8] | 159 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
| 160 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cad6f15535d10437f6690cb4492176a8"></a><!-- doxytag: member="RV::operator<<" ref="cad6f15535d10437f6690cb4492176a8" args="(std::ostream &os, const RV &rv)" --> |
---|
| 161 | std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classRV.html#cad6f15535d10437f6690cb4492176a8">operator<<</a> (std::ostream &os, const <a class="el" href="classRV.html">RV</a> &rv)</td></tr> |
---|
| 162 | |
---|
| 163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Printing output e.g. for debugging. <br></td></tr> |
---|
| 164 | </table> |
---|
| 165 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 166 | Class representing variables, most often random variables. |
---|
| 167 | <p> |
---|
[162] | 168 | More?... <hr><h2>Member Function Documentation</h2> |
---|
| 169 | <a class="anchor" name="0c493a7a897f4d75682f4264e40779a1"></a><!-- doxytag: member="RV::findself" ref="0c493a7a897f4d75682f4264e40779a1" args="(const RV &rv2) const " --> |
---|
| 170 | <div class="memitem"> |
---|
| 171 | <div class="memproto"> |
---|
| 172 | <table class="memname"> |
---|
| 173 | <tr> |
---|
| 174 | <td class="memname">ivec RV::findself </td> |
---|
| 175 | <td>(</td> |
---|
| 176 | <td class="paramtype">const <a class="el" href="classRV.html">RV</a> & </td> |
---|
| 177 | <td class="paramname"> <em>rv2</em> </td> |
---|
| 178 | <td> ) </td> |
---|
| 179 | <td> const</td> |
---|
| 180 | </tr> |
---|
| 181 | </table> |
---|
| 182 | </div> |
---|
| 183 | <div class="memdoc"> |
---|
| 184 | |
---|
| 185 | <p> |
---|
| 186 | Find indexes of self in another rv,. |
---|
| 187 | <p> |
---|
| 188 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>ivec of the same size as self. </dd></dl> |
---|
| 189 | |
---|
[219] | 190 | <p>References <a class="el" href="libBM_8h-source.html#l00052">ids</a>, <a class="el" href="libBM_8h-source.html#l00050">len</a>, <a class="el" href="libBM_8h-source.html#l00079">length()</a>, and <a class="el" href="libBM_8h-source.html#l00056">times</a>.</p> |
---|
[162] | 191 | |
---|
[219] | 192 | <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00053">add()</a>, <a class="el" href="libBM_8cpp-source.html#l00160">dataind()</a>, and <a class="el" href="libBM_8cpp-source.html#l00191">subt()</a>.</p> |
---|
[162] | 193 | |
---|
| 194 | </div> |
---|
| 195 | </div><p> |
---|
| 196 | <a class="anchor" name="935790526b630dec4ffefa9ec0c2b6fb"></a><!-- doxytag: member="RV::add" ref="935790526b630dec4ffefa9ec0c2b6fb" args="(const RV &rv2)" --> |
---|
| 197 | <div class="memitem"> |
---|
| 198 | <div class="memproto"> |
---|
| 199 | <table class="memname"> |
---|
| 200 | <tr> |
---|
| 201 | <td class="memname">bool RV::add </td> |
---|
| 202 | <td>(</td> |
---|
| 203 | <td class="paramtype">const <a class="el" href="classRV.html">RV</a> & </td> |
---|
| 204 | <td class="paramname"> <em>rv2</em> </td> |
---|
| 205 | <td> ) </td> |
---|
| 206 | <td></td> |
---|
| 207 | </tr> |
---|
| 208 | </table> |
---|
| 209 | </div> |
---|
| 210 | <div class="memdoc"> |
---|
| 211 | |
---|
| 212 | <p> |
---|
| 213 | Add (concat) another variable to the current one,. |
---|
| 214 | <p> |
---|
[171] | 215 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if all rv2 were added, false if rv2 is in conflict </dd></dl> |
---|
[162] | 216 | |
---|
[219] | 217 | <p>References <a class="el" href="libBM_8cpp-source.html#l00212">concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00198">findself()</a>, <a class="el" href="libBM_8h-source.html#l00052">ids</a>, <a class="el" href="libBM_8h-source.html#l00050">len</a>, <a class="el" href="libBM_8h-source.html#l00058">names</a>, <a class="el" href="libBM_8h-source.html#l00054">sizes</a>, <a class="el" href="libBM_8h-source.html#l00056">times</a>, and <a class="el" href="libBM_8h-source.html#l00048">tsize</a>.</p> |
---|
[162] | 218 | |
---|
[234] | 219 | <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00212">concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00220">compositepdf::getrv()</a>, <a class="el" href="merger_8h-source.html#l00050">merger::merger()</a>, <a class="el" href="libPF_8h-source.html#l00113">MPF< BM_T >::MPF()</a>, and <a class="el" href="libBM_8cpp-source.html#l00231">compositepdf::setrvc()</a>.</p> |
---|
[162] | 220 | |
---|
| 221 | </div> |
---|
| 222 | </div><p> |
---|
[180] | 223 | <a class="anchor" name="bb724fa4e2d9ed7bfd0993b5975018a4"></a><!-- doxytag: member="RV::dataind" ref="bb724fa4e2d9ed7bfd0993b5975018a4" args="(const RV &crv) const " --> |
---|
[162] | 224 | <div class="memitem"> |
---|
| 225 | <div class="memproto"> |
---|
| 226 | <table class="memname"> |
---|
| 227 | <tr> |
---|
| 228 | <td class="memname">ivec RV::dataind </td> |
---|
| 229 | <td>(</td> |
---|
[180] | 230 | <td class="paramtype">const <a class="el" href="classRV.html">RV</a> & </td> |
---|
[162] | 231 | <td class="paramname"> <em>crv</em> </td> |
---|
| 232 | <td> ) </td> |
---|
| 233 | <td> const</td> |
---|
| 234 | </tr> |
---|
| 235 | </table> |
---|
| 236 | </div> |
---|
| 237 | <div class="memdoc"> |
---|
| 238 | |
---|
| 239 | <p> |
---|
[210] | 240 | when this rv is a part of bigger rv, this function returns indeces of self in the data vector of the bigger crv. Then, data can be copied via: data_of_this = cdata(ind); |
---|
[219] | 241 | <p>References <a class="el" href="libBM_8cpp-source.html#l00212">concat()</a>, <a class="el" href="libBM_8h-source.html#l00077">count()</a>, <a class="el" href="libBM_8h-source.html#l00052">ids</a>, <a class="el" href="libBM_8h-source.html#l00030">str::ids</a>, <a class="el" href="libBM_8h-source.html#l00050">len</a>, <a class="el" href="libBM_8h-source.html#l00056">times</a>, <a class="el" href="libBM_8h-source.html#l00032">str::times</a>, <a class="el" href="libBM_8cpp-source.html#l00131">tostr()</a>, and <a class="el" href="libBM_8h-source.html#l00048">tsize</a>.</p> |
---|
[162] | 242 | |
---|
[234] | 243 | <p>Referenced by <a class="el" href="libEF_8h-source.html#l00790">enorm< sq_T >::condition()</a>, <a class="el" href="libBM_8h-source.html#l00301">datalink_m2e::datalink_m2e()</a>, <a class="el" href="libBM_8h-source.html#l00329">datalink_m2m::datalink_m2m()</a>, and <a class="el" href="libEF_8h-source.html#l00780">enorm< sq_T >::marginal()</a>.</p> |
---|
[162] | 244 | |
---|
[210] | 245 | </div> |
---|
| 246 | </div><p> |
---|
| 247 | <a class="anchor" name="777a5d87f2b95a60a7de467d7817f16e"></a><!-- doxytag: member="RV::dataind" ref="777a5d87f2b95a60a7de467d7817f16e" args="(const RV &rv2, ivec &selfi, ivec &rv2i) const " --> |
---|
| 248 | <div class="memitem"> |
---|
| 249 | <div class="memproto"> |
---|
| 250 | <table class="memname"> |
---|
| 251 | <tr> |
---|
| 252 | <td class="memname">void RV::dataind </td> |
---|
| 253 | <td>(</td> |
---|
| 254 | <td class="paramtype">const <a class="el" href="classRV.html">RV</a> & </td> |
---|
| 255 | <td class="paramname"> <em>rv2</em>, </td> |
---|
| 256 | </tr> |
---|
| 257 | <tr> |
---|
| 258 | <td class="paramkey"></td> |
---|
| 259 | <td></td> |
---|
| 260 | <td class="paramtype">ivec & </td> |
---|
| 261 | <td class="paramname"> <em>selfi</em>, </td> |
---|
| 262 | </tr> |
---|
| 263 | <tr> |
---|
| 264 | <td class="paramkey"></td> |
---|
| 265 | <td></td> |
---|
| 266 | <td class="paramtype">ivec & </td> |
---|
| 267 | <td class="paramname"> <em>rv2i</em></td><td> </td> |
---|
| 268 | </tr> |
---|
| 269 | <tr> |
---|
| 270 | <td></td> |
---|
| 271 | <td>)</td> |
---|
| 272 | <td></td><td></td><td> const</td> |
---|
| 273 | </tr> |
---|
| 274 | </table> |
---|
| 275 | </div> |
---|
| 276 | <div class="memdoc"> |
---|
[181] | 277 | |
---|
[210] | 278 | <p> |
---|
| 279 | generate mutual indeces when copying data betwenn self and crv. Data are copied via: data_of_this(selfi) = data_of_rv2(rv2i) |
---|
[219] | 280 | <p>References <a class="el" href="libBM_8cpp-source.html#l00212">concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00198">findself()</a>, <a class="el" href="libBM_8h-source.html#l00052">ids</a>, <a class="el" href="libBM_8h-source.html#l00030">str::ids</a>, <a class="el" href="libBM_8h-source.html#l00050">len</a>, <a class="el" href="libBM_8h-source.html#l00079">length()</a>, <a class="el" href="libBM_8h-source.html#l00056">times</a>, <a class="el" href="libBM_8h-source.html#l00032">str::times</a>, and <a class="el" href="libBM_8cpp-source.html#l00131">tostr()</a>.</p> |
---|
[210] | 281 | |
---|
[162] | 282 | </div> |
---|
| 283 | </div><p> |
---|
| 284 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
[145] | 285 | <li>work/git/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a><li>work/git/mixpp/bdm/stat/libBM.cpp</ul> |
---|
[91] | 286 | </div> |
---|
[234] | 287 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 15 10:51:27 2009 for mixpp by |
---|
[8] | 288 | <a href="http://www.doxygen.org/index.html"> |
---|
[139] | 289 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
[8] | 290 | </body> |
---|
| 291 | </html> |
---|