root/doc/html/classRV.html @ 210

Revision 210, 24.0 kB (checked in by smidl, 16 years ago)

dokumentace

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