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"> |
| 40 | |
| 41 | <p> |
| 42 | <a href="classbdm_1_1RV-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> |
| 43 | Class representing variables, most often random variables. |
| 44 | <p> |
| 45 | The purpose of this class is to decribe a vector of data. Such description is used for connecting various vectors between each other, see class <a class="el" href="classbdm_1_1datalink.html" title="DataLink is a connection between two data vectors Up and Down.">datalink</a>.<p> |
| 46 | The class is implemented using global variables to assure uniqueness of description:<p> |
| 47 | In is a vector <div align="center"> |
| 48 | <img src="inline_dotgraph_1.dot.png" alt="inline_dotgraph_1.dot" border="0" usemap="#inline_dotgraph_1.dot.map"> |
| 49 | <map name="inline_dotgraph_1.dot.map"></map> |
| 50 | </div> |
| 51 | <table border="0" cellpadding="0" cellspacing="0"> |
| 53 | <tr><td colspan="2"><br><h2>Access functions</h2></td></tr> |
| 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de30156104f61d86c94f758861418089"></a><!-- doxytag: member="bdm::RV::_dsize" ref="de30156104f61d86c94f758861418089" args="() const " --> |
| 55 | int </td><td class="memItemRight" valign="bottom"><b>_dsize</b> () const </td></tr> |
| 56 | |
| 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39f9b44752376f07e346579b5ff8cbbd"></a><!-- doxytag: member="bdm::RV::countsize" ref="39f9b44752376f07e346579b5ff8cbbd" args="() const " --> |
| 58 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#39f9b44752376f07e346579b5ff8cbbd">countsize</a> () const </td></tr> |
| 59 | |
| 60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Recount size of the corresponding data vector. <br></td></tr> |
| 61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9ec8c3e756651ff352ab5e3d3acda4b"></a><!-- doxytag: member="bdm::RV::length" ref="e9ec8c3e756651ff352ab5e3d3acda4b" args="() const " --> |
| 62 | int </td><td class="memItemRight" valign="bottom"><b>length</b> () const </td></tr> |
| 63 | |
| 64 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5900b42f778129a9e56008a1e8e489c8"></a><!-- doxytag: member="bdm::RV::id" ref="5900b42f778129a9e56008a1e8e489c8" args="(int at) const " --> |
| 65 | int </td><td class="memItemRight" valign="bottom"><b>id</b> (int at) const </td></tr> |
| 66 | |
| 67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bde62551a3fc8f3f83c569860b73f705"></a><!-- doxytag: member="bdm::RV::size" ref="bde62551a3fc8f3f83c569860b73f705" args="(int at) const " --> |
| 68 | int </td><td class="memItemRight" valign="bottom"><b>size</b> (int at) const </td></tr> |
| 69 | |
| 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c94373d3a760919b4b3eee58b42e3a45"></a><!-- doxytag: member="bdm::RV::time" ref="c94373d3a760919b4b3eee58b42e3a45" args="(int at) const " --> |
| 71 | int </td><td class="memItemRight" valign="bottom"><b>time</b> (int at) const </td></tr> |
| 72 | |
| 73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74c6ec8eb9c1dd69ad1d986eaee16dc2"></a><!-- doxytag: member="bdm::RV::name" ref="74c6ec8eb9c1dd69ad1d986eaee16dc2" args="(int at) const " --> |
| 74 | std::string </td><td class="memItemRight" valign="bottom"><b>name</b> (int at) const </td></tr> |
| 75 | |
| 76 | <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)" --> |
| 77 | void </td><td class="memItemRight" valign="bottom"><b>set_time</b> (int at, int time0)</td></tr> |
| 78 | |
| 79 | <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)" --> |
| 80 | 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> |
| 81 | |
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Printing output e.g. for debugging. <br></td></tr> |
71 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="53b30f0c148b18e0aa20cc83548ed0c4"></a><!-- doxytag: member="bdm::RV::RV" ref="53b30f0c148b18e0aa20cc83548ed0c4" args="(string name, int id, int sz=1, int tm=0)" --> |
72 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#53b30f0c148b18e0aa20cc83548ed0c4">RV</a> (string name, int id, int sz=1, int tm=0)</td></tr> |
| 101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a990e0f30c0e34f04c14260ab8ba5b5f"></a><!-- doxytag: member="bdm::RV::RV" ref="a990e0f30c0e34f04c14260ab8ba5b5f" args="(string name, int sz, int tm=0)" --> |
| 102 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#a990e0f30c0e34f04c14260ab8ba5b5f">RV</a> (string name, int sz, int tm=0)</td></tr> |
75 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2174751a00ce19f941edd2c1a861be67"></a><!-- doxytag: member="bdm::RV::count" ref="2174751a00ce19f941edd2c1a861be67" args="() const " --> |
76 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#2174751a00ce19f941edd2c1a861be67">count</a> () const </td></tr> |
77 | | |
78 | | <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> |
79 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9ec8c3e756651ff352ab5e3d3acda4b"></a><!-- doxytag: member="bdm::RV::length" ref="e9ec8c3e756651ff352ab5e3d3acda4b" args="() const " --> |
80 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#e9ec8c3e756651ff352ab5e3d3acda4b">length</a> () const </td></tr> |
81 | | |
82 | | <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> |
| 105 | <tr><td colspan="2"><div class="groupHeader">Algebra on Random Variables</div></td></tr> |
121 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae0c6e729851a43c82a5b1c199474ef2"></a><!-- doxytag: member="bdm::RV::_names" ref="ae0c6e729851a43c82a5b1c199474ef2" args="()" --> |
122 | | Array< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#ae0c6e729851a43c82a5b1c199474ef2">_names</a> ()</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="172390b8525ef5aac684228241fff7b5"></a><!-- doxytag: member="bdm::RV::id" ref="172390b8525ef5aac684228241fff7b5" args="(int at)" --> |
126 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#172390b8525ef5aac684228241fff7b5">id</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="8e64d02005a02aef72f214286977d8de"></a><!-- doxytag: member="bdm::RV::size" ref="8e64d02005a02aef72f214286977d8de" args="(int at)" --> |
130 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#8e64d02005a02aef72f214286977d8de">size</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="aff4de8185750b506492623847520518"></a><!-- doxytag: member="bdm::RV::time" ref="aff4de8185750b506492623847520518" args="(int at)" --> |
134 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#aff4de8185750b506492623847520518">time</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="d05af87595cfb7fa2e0fadeae5597fa8"></a><!-- doxytag: member="bdm::RV::name" ref="d05af87595cfb7fa2e0fadeae5597fa8" args="(int at)" --> |
138 | | std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#d05af87595cfb7fa2e0fadeae5597fa8">name</a> (int at)</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="602cea0aecebc5146d81657df5127543"></a><!-- doxytag: member="bdm::RV::set_id" ref="602cea0aecebc5146d81657df5127543" args="(int at, int id0)" --> |
142 | | 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> |
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="0b2c9e73ff66847c3644ebc3eb559a03"></a><!-- doxytag: member="bdm::RV::set_size" ref="0b2c9e73ff66847c3644ebc3eb559a03" args="(int at, int size0)" --> |
146 | | 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> |
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="fb2892d12dc978549e9491aed327dfd4"></a><!-- doxytag: member="bdm::RV::set_time" ref="fb2892d12dc978549e9491aed327dfd4" args="(int at, int time0)" --> |
150 | | 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> |
151 | | |
152 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
153 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="176e9c0c35b51fee0ad8813a39883a63"></a><!-- doxytag: member="bdm::RV::newids" ref="176e9c0c35b51fee0ad8813a39883a63" args="()" --> |
154 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#176e9c0c35b51fee0ad8813a39883a63">newids</a> ()</td></tr> |
155 | | |
156 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign unused ids to this rv. <br></td></tr> |
158 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38203096d950671def44de8cf1c6bb2e"></a><!-- doxytag: member="bdm::RV::tsize" ref="38203096d950671def44de8cf1c6bb2e" args="" --> |
159 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#38203096d950671def44de8cf1c6bb2e">tsize</a></td></tr> |
160 | | |
161 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size = sum of sizes <br></td></tr> |
| 146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0cfe477965243a89eb87a06b024e2fcb"></a><!-- doxytag: member="bdm::RV::dsize" ref="0cfe477965243a89eb87a06b024e2fcb" args="" --> |
| 147 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#0cfe477965243a89eb87a06b024e2fcb">dsize</a></td></tr> |
| 148 | |
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of the data vector <br></td></tr> |
178 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9a87c46918c3c0db0bdca854a48a44aa"></a><!-- doxytag: member="bdm::RV::names" ref="9a87c46918c3c0db0bdca854a48a44aa" args="" --> |
179 | | Array< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html#9a87c46918c3c0db0bdca854a48a44aa">names</a></td></tr> |
180 | | |
181 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Array of names. <br></td></tr> |
182 | | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
183 | | <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)" --> |
184 | | 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> |
185 | | |
186 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Printing output e.g. for debugging. <br></td></tr> |
213 | | <p>References <a class="el" href="libBM_8h-source.html#l00059">ids</a>, <a class="el" href="libBM_8h-source.html#l00057">len</a>, <a class="el" href="libBM_8h-source.html#l00088">length()</a>, and <a class="el" href="libBM_8h-source.html#l00063">times</a>.</p> |
214 | | |
215 | | <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00060">add()</a>, <a class="el" href="libBM_8cpp-source.html#l00167">dataind()</a>, and <a class="el" href="libBM_8cpp-source.html#l00198">subt()</a>.</p> |
| 185 | <p>References <a class="el" href="libBM_8h-source.html#l00099">ids</a>, <a class="el" href="libBM_8h-source.html#l00131">length()</a>, and <a class="el" href="libBM_8h-source.html#l00101">times</a>.</p> |
| 186 | |
| 187 | <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00059">add()</a>, <a class="el" href="libBM_8cpp-source.html#l00143">dataind()</a>, and <a class="el" href="libBM_8cpp-source.html#l00174">subt()</a>.</p> |
240 | | <p>References <a class="el" href="libBM_8cpp-source.html#l00219">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00205">findself()</a>, <a class="el" href="libBM_8h-source.html#l00059">ids</a>, <a class="el" href="libBM_8h-source.html#l00057">len</a>, <a class="el" href="libBM_8h-source.html#l00065">names</a>, <a class="el" href="libBM_8h-source.html#l00061">sizes</a>, <a class="el" href="libBM_8h-source.html#l00063">times</a>, and <a class="el" href="libBM_8h-source.html#l00055">tsize</a>.</p> |
241 | | |
242 | | <p>Referenced by <a class="el" href="libDS__ui_8h-source.html#l00054">UIArxDS::build()</a>, <a class="el" href="arx__ui_8h-source.html#l00041">UIARX::build()</a>, <a class="el" href="libBM_8cpp-source.html#l00219">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00227">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#l00238">bdm::compositepdf::setrvc()</a>.</p> |
| 212 | <p>References <a class="el" href="libBM_8cpp-source.html#l00195">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00036">countsize()</a>, <a class="el" href="libBM_8h-source.html#l00095">dsize</a>, <a class="el" href="libBM_8cpp-source.html#l00181">findself()</a>, <a class="el" href="libBM_8h-source.html#l00099">ids</a>, <a class="el" href="libBM_8h-source.html#l00097">len</a>, and <a class="el" href="libBM_8h-source.html#l00101">times</a>.</p> |
| 213 | |
| 214 | <p>Referenced by <a class="el" href="libDS__ui_8h-source.html#l00054">UIArxDS::build()</a>, <a class="el" href="arx__ui_8h-source.html#l00041">UIARX::build()</a>, <a class="el" href="libBM_8cpp-source.html#l00195">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00201">bdm::compositepdf::getrv()</a>, <a class="el" href="merger_8h-source.html#l00050">bdm::merger::merger()</a>, and <a class="el" href="libBM_8cpp-source.html#l00212">bdm::compositepdf::setrvc()</a>.</p> |
264 | | <p>References <a class="el" href="libBM_8cpp-source.html#l00219">bdm::concat()</a>, <a class="el" href="libBM_8h-source.html#l00086">count()</a>, <a class="el" href="libBM_8h-source.html#l00059">ids</a>, <a class="el" href="libBM_8h-source.html#l00037">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00057">len</a>, <a class="el" href="libBM_8h-source.html#l00063">times</a>, <a class="el" href="libBM_8h-source.html#l00039">bdm::str::times</a>, <a class="el" href="libBM_8cpp-source.html#l00138">tostr()</a>, and <a class="el" href="libBM_8h-source.html#l00055">tsize</a>.</p> |
265 | | |
266 | | <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#l00336">bdm::datalink_m2e::datalink_m2e()</a>, <a class="el" href="libBM_8h-source.html#l00364">bdm::datalink_m2m::datalink_m2m()</a>, and <a class="el" href="libEF_8h-source.html#l00786">bdm::enorm< sq_T >::marginal()</a>.</p> |
| 236 | <p>References <a class="el" href="libBM_8h-source.html#l00128">_dsize()</a>, <a class="el" href="libBM_8cpp-source.html#l00195">bdm::concat()</a>, <a class="el" href="libBM_8h-source.html#l00099">ids</a>, <a class="el" href="libBM_8h-source.html#l00045">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00101">times</a>, <a class="el" href="libBM_8h-source.html#l00047">bdm::str::times</a>, and <a class="el" href="libBM_8cpp-source.html#l00114">tostr()</a>.</p> |
| 237 | |
| 238 | <p>Referenced by <a class="el" href="libEF_8h-source.html#l00814">bdm::enorm< sq_T >::condition()</a>, <a class="el" href="libBM_8h-source.html#l00408">bdm::datalink_m2e::datalink_m2e()</a>, <a class="el" href="libBM_8h-source.html#l00436">bdm::datalink_m2m::datalink_m2m()</a>, and <a class="el" href="libEF_8h-source.html#l00803">bdm::enorm< sq_T >::marginal()</a>.</p> |
303 | | <p>References <a class="el" href="libBM_8cpp-source.html#l00219">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00205">findself()</a>, <a class="el" href="libBM_8h-source.html#l00059">ids</a>, <a class="el" href="libBM_8h-source.html#l00037">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00057">len</a>, <a class="el" href="libBM_8h-source.html#l00088">length()</a>, <a class="el" href="libBM_8h-source.html#l00063">times</a>, <a class="el" href="libBM_8h-source.html#l00039">bdm::str::times</a>, and <a class="el" href="libBM_8cpp-source.html#l00138">tostr()</a>.</p> |
| 275 | <p>References <a class="el" href="libBM_8cpp-source.html#l00195">bdm::concat()</a>, <a class="el" href="libBM_8cpp-source.html#l00181">findself()</a>, <a class="el" href="libBM_8h-source.html#l00099">ids</a>, <a class="el" href="libBM_8h-source.html#l00045">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00131">length()</a>, <a class="el" href="libBM_8h-source.html#l00101">times</a>, <a class="el" href="libBM_8h-source.html#l00047">bdm::str::times</a>, and <a class="el" href="libBM_8cpp-source.html#l00114">tostr()</a>.</p> |