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: bdm::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 Page</span></a></li> |
---|
12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
14 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
15 | <li class="current"><a href="classes.html"><span>Classes</span></a></li> |
---|
16 | <li><a href="files.html"><span>Files</span></a></li> |
---|
17 | </ul> |
---|
18 | </div> |
---|
19 | <div class="tabs"> |
---|
20 | <ul> |
---|
21 | <li><a href="classes.html"><span>Alphabetical List</span></a></li> |
---|
22 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
23 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
24 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
25 | </ul> |
---|
26 | </div> |
---|
27 | <div class="navpath"><a class="el" href="namespacebdm.html">bdm</a>::<a class="el" href="classbdm_1_1RV.html">RV</a> |
---|
28 | </div> |
---|
29 | </div> |
---|
30 | <div class="contents"> |
---|
31 | <h1>bdm::RV Class Reference</h1><!-- doxytag: class="bdm::RV" --><!-- doxytag: inherits="bdm::bdmroot" -->Class representing variables, most often random variables. |
---|
32 | <a href="#_details">More...</a> |
---|
33 | <p> |
---|
34 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> |
---|
35 | <p> |
---|
36 | <div class="dynheader"> |
---|
37 | Inheritance diagram for bdm::RV:</div> |
---|
38 | <div class="dynsection"> |
---|
39 | <p><center><img src="classbdm_1_1RV__inherit__graph.png" border="0" usemap="#bdm_1_1RV__inherit__map" alt="Inheritance graph"></center> |
---|
40 | <map name="bdm_1_1RV__inherit__map"> |
---|
41 | <area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map> |
---|
42 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
43 | <div class="dynheader"> |
---|
44 | Collaboration diagram for bdm::RV:</div> |
---|
45 | <div class="dynsection"> |
---|
46 | <p><center><img src="classbdm_1_1RV__coll__graph.png" border="0" usemap="#bdm_1_1RV__coll__map" alt="Collaboration graph"></center> |
---|
47 | <map name="bdm_1_1RV__coll__map"> |
---|
48 | <area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map> |
---|
49 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
50 | |
---|
51 | <p> |
---|
52 | <a href="classbdm_1_1RV-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
53 | <tr><td></td></tr> |
---|
54 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d93da01a64dab31074b25b7d93e5eae"></a><!-- doxytag: member="bdm::RV::RV" ref="3d93da01a64dab31074b25b7d93e5eae" args="(Array< std::string > in_names, ivec in_sizes, ivec in_times)" --> |
---|
56 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#3d93da01a64dab31074b25b7d93e5eae">RV</a> (Array< std::string > in_names, ivec in_sizes, ivec in_times)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Full constructor. <br></td></tr> |
---|
59 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bd1bd9ec51b91578ecc83a6b2398a20"></a><!-- doxytag: member="bdm::RV::RV" ref="5bd1bd9ec51b91578ecc83a6b2398a20" args="(Array< std::string > in_names, ivec in_sizes)" --> |
---|
60 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#5bd1bd9ec51b91578ecc83a6b2398a20">RV</a> (Array< std::string > in_names, ivec in_sizes)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor with times=0. <br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a222dfef569e8f123180d40fde97c1cd"></a><!-- doxytag: member="bdm::RV::RV" ref="a222dfef569e8f123180d40fde97c1cd" args="(Array< std::string > in_names)" --> |
---|
64 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#a222dfef569e8f123180d40fde97c1cd">RV</a> (Array< std::string > in_names)</td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor with sizes=1, times=0. <br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e319ca900261a5005a9b4b353ec16412"></a><!-- doxytag: member="bdm::RV::RV" ref="e319ca900261a5005a9b4b353ec16412" args="()" --> |
---|
68 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#e319ca900261a5005a9b4b353ec16412">RV</a> ()</td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor of empty <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2174751a00ce19f941edd2c1a861be67"></a><!-- doxytag: member="bdm::RV::count" ref="2174751a00ce19f941edd2c1a861be67" args="() const " --> |
---|
72 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#2174751a00ce19f941edd2c1a861be67">count</a> () const </td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return number of scalars in the <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9ec8c3e756651ff352ab5e3d3acda4b"></a><!-- doxytag: member="bdm::RV::length" ref="e9ec8c3e756651ff352ab5e3d3acda4b" args="() const " --> |
---|
76 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#e9ec8c3e756651ff352ab5e3d3acda4b">length</a> () const </td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return length (number of entries) of the <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>. <br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top">ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#1367055b2608ad9d50d01a2da6cec869">findself</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv2) const </td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Find indexes of self in another rv,. <a href="#1367055b2608ad9d50d01a2da6cec869"></a><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bb011af88ae98f5c97955bb2c95cfee"></a><!-- doxytag: member="bdm::RV::equal" ref="3bb011af88ae98f5c97955bb2c95cfee" args="(const RV &rv2) const " --> |
---|
83 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#3bb011af88ae98f5c97955bb2c95cfee">equal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv2) const </td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare if <code>rv2</code> is identical to this <code><a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a></code>. <br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#87841b5ee43997b79789c0c22047e224">add</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv2)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add (concat) another variable to the current one,. <a href="#87841b5ee43997b79789c0c22047e224"></a><br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aec44dabdf0a6d90fbae95e1356eda39"></a><!-- doxytag: member="bdm::RV::subt" ref="aec44dabdf0a6d90fbae95e1356eda39" args="(const RV &rv2) const " --> |
---|
90 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#aec44dabdf0a6d90fbae95e1356eda39">subt</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv2) const </td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtract another variable from the current one. <br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0c04ab99ded62e1e05bcefb151ebeb9"></a><!-- doxytag: member="bdm::RV::subselect" ref="c0c04ab99ded62e1e05bcefb151ebeb9" args="(const ivec &ind) const " --> |
---|
94 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#c0c04ab99ded62e1e05bcefb151ebeb9">subselect</a> (const ivec &ind) const </td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f3daf0f857fff53a1c0a445fe160966"></a><!-- doxytag: member="bdm::RV::operator()" ref="6f3daf0f857fff53a1c0a445fe160966" args="(const ivec &ind) const " --> |
---|
98 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#6f3daf0f857fff53a1c0a445fe160966">operator()</a> (const ivec &ind) const </td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Select only variables at indeces ind. <br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd77cb0899f7fba1d0e34396137b7f1f"></a><!-- doxytag: member="bdm::RV::t" ref="bd77cb0899f7fba1d0e34396137b7f1f" args="(int delta)" --> |
---|
102 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#bd77cb0899f7fba1d0e34396137b7f1f">t</a> (int delta)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Shift <code>time</code> shifted by delta. <br></td></tr> |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8bdd7f4072749c7cc864b78a418ca388"></a><!-- doxytag: member="bdm::RV::tostr" ref="8bdd7f4072749c7cc864b78a418ca388" args="() const " --> |
---|
106 | <a class="el" href="classbdm_1_1str.html">str</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#8bdd7f4072749c7cc864b78a418ca388">tostr</a> () const </td></tr> |
---|
107 | |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">generate <code><a class="el" href="classbdm_1_1str.html" title="Structure of RV (used internally), i.e. expanded RVs.">str</a></code> from rv, by expanding sizes <br></td></tr> |
---|
109 | <tr><td class="memItemLeft" nowrap align="right" valign="top">ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &crv) const </td></tr> |
---|
110 | |
---|
111 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#c92b92ecfd95c89be13ab3e6cb6855c1">dataind</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv2, ivec &selfi, ivec &rv2i) const </td></tr> |
---|
112 | |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8bfda300b769a05598c55cb94fe61f52"></a><!-- doxytag: member="bdm::RV::mint" ref="8bfda300b769a05598c55cb94fe61f52" args="()" --> |
---|
114 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#8bfda300b769a05598c55cb94fe61f52">mint</a> ()</td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Minimum time-offset. <br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae0c6e729851a43c82a5b1c199474ef2"></a><!-- doxytag: member="bdm::RV::_names" ref="ae0c6e729851a43c82a5b1c199474ef2" args="()" --> |
---|
118 | Array< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#ae0c6e729851a43c82a5b1c199474ef2">_names</a> ()</td></tr> |
---|
119 | |
---|
120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="172390b8525ef5aac684228241fff7b5"></a><!-- doxytag: member="bdm::RV::id" ref="172390b8525ef5aac684228241fff7b5" args="(int at)" --> |
---|
122 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#172390b8525ef5aac684228241fff7b5">id</a> (int at)</td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e64d02005a02aef72f214286977d8de"></a><!-- doxytag: member="bdm::RV::size" ref="8e64d02005a02aef72f214286977d8de" args="(int at)" --> |
---|
126 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#8e64d02005a02aef72f214286977d8de">size</a> (int at)</td></tr> |
---|
127 | |
---|
128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aff4de8185750b506492623847520518"></a><!-- doxytag: member="bdm::RV::time" ref="aff4de8185750b506492623847520518" args="(int at)" --> |
---|
130 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#aff4de8185750b506492623847520518">time</a> (int at)</td></tr> |
---|
131 | |
---|
132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d05af87595cfb7fa2e0fadeae5597fa8"></a><!-- doxytag: member="bdm::RV::name" ref="d05af87595cfb7fa2e0fadeae5597fa8" args="(int at)" --> |
---|
134 | std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#d05af87595cfb7fa2e0fadeae5597fa8">name</a> (int at)</td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="602cea0aecebc5146d81657df5127543"></a><!-- doxytag: member="bdm::RV::set_id" ref="602cea0aecebc5146d81657df5127543" args="(int at, int id0)" --> |
---|
138 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#602cea0aecebc5146d81657df5127543">set_id</a> (int at, int id0)</td></tr> |
---|
139 | |
---|
140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b2c9e73ff66847c3644ebc3eb559a03"></a><!-- doxytag: member="bdm::RV::set_size" ref="0b2c9e73ff66847c3644ebc3eb559a03" args="(int at, int size0)" --> |
---|
142 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#0b2c9e73ff66847c3644ebc3eb559a03">set_size</a> (int at, int size0)</td></tr> |
---|
143 | |
---|
144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb2892d12dc978549e9491aed327dfd4"></a><!-- doxytag: member="bdm::RV::set_time" ref="fb2892d12dc978549e9491aed327dfd4" args="(int at, int time0)" --> |
---|
146 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#fb2892d12dc978549e9491aed327dfd4">set_time</a> (int at, int time0)</td></tr> |
---|
147 | |
---|
148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="176e9c0c35b51fee0ad8813a39883a63"></a><!-- doxytag: member="bdm::RV::newids" ref="176e9c0c35b51fee0ad8813a39883a63" args="()" --> |
---|
150 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#176e9c0c35b51fee0ad8813a39883a63">newids</a> ()</td></tr> |
---|
151 | |
---|
152 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign unused ids to this rv. <br></td></tr> |
---|
153 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
154 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38203096d950671def44de8cf1c6bb2e"></a><!-- doxytag: member="bdm::RV::tsize" ref="38203096d950671def44de8cf1c6bb2e" args="" --> |
---|
155 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#38203096d950671def44de8cf1c6bb2e">tsize</a></td></tr> |
---|
156 | |
---|
157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size = sum of sizes <br></td></tr> |
---|
158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b11bfdceb831ed30d33b852dd4a6b385"></a><!-- doxytag: member="bdm::RV::len" ref="b11bfdceb831ed30d33b852dd4a6b385" args="" --> |
---|
159 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#b11bfdceb831ed30d33b852dd4a6b385">len</a></td></tr> |
---|
160 | |
---|
161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">len = number of individual rvs <br></td></tr> |
---|
162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a9a4769ab5a322495bea0cd8091500b"></a><!-- doxytag: member="bdm::RV::ids" ref="0a9a4769ab5a322495bea0cd8091500b" args="" --> |
---|
163 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#0a9a4769ab5a322495bea0cd8091500b">ids</a></td></tr> |
---|
164 | |
---|
165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of unique IDs. <br></td></tr> |
---|
166 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0112d25045f6f8fabdc9e821029928ee"></a><!-- doxytag: member="bdm::RV::sizes" ref="0112d25045f6f8fabdc9e821029928ee" args="" --> |
---|
167 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#0112d25045f6f8fabdc9e821029928ee">sizes</a></td></tr> |
---|
168 | |
---|
169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of sizes. <br></td></tr> |
---|
170 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef6703854820bbf61736738f1bac6896"></a><!-- doxytag: member="bdm::RV::times" ref="ef6703854820bbf61736738f1bac6896" args="" --> |
---|
171 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#ef6703854820bbf61736738f1bac6896">times</a></td></tr> |
---|
172 | |
---|
173 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Vector of shifts from current time. <br></td></tr> |
---|
174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a87c46918c3c0db0bdca854a48a44aa"></a><!-- doxytag: member="bdm::RV::names" ref="9a87c46918c3c0db0bdca854a48a44aa" args="" --> |
---|
175 | Array< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#9a87c46918c3c0db0bdca854a48a44aa">names</a></td></tr> |
---|
176 | |
---|
177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Array of names. <br></td></tr> |
---|
178 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
179 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cad6f15535d10437f6690cb4492176a8"></a><!-- doxytag: member="bdm::RV::operator<<" ref="cad6f15535d10437f6690cb4492176a8" args="(std::ostream &os, const RV &rv)" --> |
---|
180 | std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#cad6f15535d10437f6690cb4492176a8">operator<<</a> (std::ostream &os, const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv)</td></tr> |
---|
181 | |
---|
182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Printing output e.g. for debugging. <br></td></tr> |
---|
183 | </table> |
---|
184 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
185 | Class representing variables, most often random variables. |
---|
186 | <p> |
---|
187 | More?... <hr><h2>Member Function Documentation</h2> |
---|
188 | <a class="anchor" name="1367055b2608ad9d50d01a2da6cec869"></a><!-- doxytag: member="bdm::RV::findself" ref="1367055b2608ad9d50d01a2da6cec869" args="(const RV &rv2) const " --> |
---|
189 | <div class="memitem"> |
---|
190 | <div class="memproto"> |
---|
191 | <table class="memname"> |
---|
192 | <tr> |
---|
193 | <td class="memname">ivec bdm::RV::findself </td> |
---|
194 | <td>(</td> |
---|
195 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
---|
196 | <td class="paramname"> <em>rv2</em> </td> |
---|
197 | <td> ) </td> |
---|
198 | <td> const</td> |
---|
199 | </tr> |
---|
200 | </table> |
---|
201 | </div> |
---|
202 | <div class="memdoc"> |
---|
203 | |
---|
204 | <p> |
---|
205 | Find indexes of self in another rv,. |
---|
206 | <p> |
---|
207 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>ivec of the same size as self. </dd></dl> |
---|
208 | |
---|
209 | <p>References <a class="el" href="libBM_8h-source.html#l00058">ids</a>, <a class="el" href="libBM_8h-source.html#l00056">len</a>, <a class="el" href="libBM_8h-source.html#l00085">length()</a>, and <a class="el" href="libBM_8h-source.html#l00062">times</a>.</p> |
---|
210 | |
---|
211 | <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00054">add()</a>, <a class="el" href="libBM_8cpp-source.html#l00161">dataind()</a>, and <a class="el" href="libBM_8cpp-source.html#l00192">subt()</a>.</p> |
---|
212 | |
---|
213 | </div> |
---|
214 | </div><p> |
---|
215 | <a class="anchor" name="87841b5ee43997b79789c0c22047e224"></a><!-- doxytag: member="bdm::RV::add" ref="87841b5ee43997b79789c0c22047e224" args="(const RV &rv2)" --> |
---|
216 | <div class="memitem"> |
---|
217 | <div class="memproto"> |
---|
218 | <table class="memname"> |
---|
219 | <tr> |
---|
220 | <td class="memname">bool bdm::RV::add </td> |
---|
221 | <td>(</td> |
---|
222 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
---|
223 | <td class="paramname"> <em>rv2</em> </td> |
---|
224 | <td> ) </td> |
---|
225 | <td></td> |
---|
226 | </tr> |
---|
227 | </table> |
---|
228 | </div> |
---|
229 | <div class="memdoc"> |
---|
230 | |
---|
231 | <p> |
---|
232 | Add (concat) another variable to the current one,. |
---|
233 | <p> |
---|
234 | <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if all rv2 were added, false if rv2 is in conflict </dd></dl> |
---|
235 | |
---|
236 | <p>References <a class="el" href="libBM_8cpp-source.html#l00213">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00199">findself()</a>, <a class="el" href="libBM_8h-source.html#l00058">ids</a>, <a class="el" href="libBM_8h-source.html#l00056">len</a>, <a class="el" href="libBM_8h-source.html#l00064">names</a>, <a class="el" href="libBM_8h-source.html#l00060">sizes</a>, <a class="el" href="libBM_8h-source.html#l00062">times</a>, and <a class="el" href="libBM_8h-source.html#l00054">tsize</a>.</p> |
---|
237 | |
---|
238 | <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00213">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00221">bdm::compositepdf::getrv()</a>, <a class="el" href="merger_8h-source.html#l00050">bdm::merger::merger()</a>, <a class="el" href="libPF_8h-source.html#l00109">bdm::MPF< BM_T >::MPF()</a>, and <a class="el" href="libBM_8cpp-source.html#l00232">bdm::compositepdf::setrvc()</a>.</p> |
---|
239 | |
---|
240 | </div> |
---|
241 | </div><p> |
---|
242 | <a class="anchor" name="cbebdb5e0d30101a6eb63550ef701c55"></a><!-- doxytag: member="bdm::RV::dataind" ref="cbebdb5e0d30101a6eb63550ef701c55" args="(const RV &crv) const " --> |
---|
243 | <div class="memitem"> |
---|
244 | <div class="memproto"> |
---|
245 | <table class="memname"> |
---|
246 | <tr> |
---|
247 | <td class="memname">ivec bdm::RV::dataind </td> |
---|
248 | <td>(</td> |
---|
249 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
---|
250 | <td class="paramname"> <em>crv</em> </td> |
---|
251 | <td> ) </td> |
---|
252 | <td> const</td> |
---|
253 | </tr> |
---|
254 | </table> |
---|
255 | </div> |
---|
256 | <div class="memdoc"> |
---|
257 | |
---|
258 | <p> |
---|
259 | 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); |
---|
260 | <p>References <a class="el" href="libBM_8cpp-source.html#l00213">bdm::concat()</a>, <a class="el" href="libBM_8h-source.html#l00083">count()</a>, <a class="el" href="libBM_8h-source.html#l00058">ids</a>, <a class="el" href="libBM_8h-source.html#l00036">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00056">len</a>, <a class="el" href="libBM_8h-source.html#l00062">times</a>, <a class="el" href="libBM_8h-source.html#l00038">bdm::str::times</a>, <a class="el" href="libBM_8cpp-source.html#l00132">tostr()</a>, and <a class="el" href="libBM_8h-source.html#l00054">tsize</a>.</p> |
---|
261 | |
---|
262 | <p>Referenced by <a class="el" href="libEF_8h-source.html#l00796">bdm::enorm< sq_T >::condition()</a>, <a class="el" href="libBM_8h-source.html#l00333">bdm::datalink_m2e::datalink_m2e()</a>, <a class="el" href="libBM_8h-source.html#l00361">bdm::datalink_m2m::datalink_m2m()</a>, and <a class="el" href="libEF_8h-source.html#l00786">bdm::enorm< sq_T >::marginal()</a>.</p> |
---|
263 | |
---|
264 | </div> |
---|
265 | </div><p> |
---|
266 | <a class="anchor" name="c92b92ecfd95c89be13ab3e6cb6855c1"></a><!-- doxytag: member="bdm::RV::dataind" ref="c92b92ecfd95c89be13ab3e6cb6855c1" args="(const RV &rv2, ivec &selfi, ivec &rv2i) const " --> |
---|
267 | <div class="memitem"> |
---|
268 | <div class="memproto"> |
---|
269 | <table class="memname"> |
---|
270 | <tr> |
---|
271 | <td class="memname">void bdm::RV::dataind </td> |
---|
272 | <td>(</td> |
---|
273 | <td class="paramtype">const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td> |
---|
274 | <td class="paramname"> <em>rv2</em>, </td> |
---|
275 | </tr> |
---|
276 | <tr> |
---|
277 | <td class="paramkey"></td> |
---|
278 | <td></td> |
---|
279 | <td class="paramtype">ivec & </td> |
---|
280 | <td class="paramname"> <em>selfi</em>, </td> |
---|
281 | </tr> |
---|
282 | <tr> |
---|
283 | <td class="paramkey"></td> |
---|
284 | <td></td> |
---|
285 | <td class="paramtype">ivec & </td> |
---|
286 | <td class="paramname"> <em>rv2i</em></td><td> </td> |
---|
287 | </tr> |
---|
288 | <tr> |
---|
289 | <td></td> |
---|
290 | <td>)</td> |
---|
291 | <td></td><td></td><td> const</td> |
---|
292 | </tr> |
---|
293 | </table> |
---|
294 | </div> |
---|
295 | <div class="memdoc"> |
---|
296 | |
---|
297 | <p> |
---|
298 | generate mutual indeces when copying data betwenn self and crv. Data are copied via: data_of_this(selfi) = data_of_rv2(rv2i) |
---|
299 | <p>References <a class="el" href="libBM_8cpp-source.html#l00213">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00199">findself()</a>, <a class="el" href="libBM_8h-source.html#l00058">ids</a>, <a class="el" href="libBM_8h-source.html#l00036">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00056">len</a>, <a class="el" href="libBM_8h-source.html#l00085">length()</a>, <a class="el" href="libBM_8h-source.html#l00062">times</a>, <a class="el" href="libBM_8h-source.html#l00038">bdm::str::times</a>, and <a class="el" href="libBM_8cpp-source.html#l00132">tostr()</a>.</p> |
---|
300 | |
---|
301 | </div> |
---|
302 | </div><p> |
---|
303 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
304 | <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> |
---|
305 | </div> |
---|
306 | <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 15:29:52 2009 for mixpp by |
---|
307 | <a href="http://www.doxygen.org/index.html"> |
---|
308 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
309 | </body> |
---|
310 | </html> |
---|