82 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23522b9e7dd0bb0c365cc9cde4c05449"></a><!-- doxytag: member="bdm::MemDS::getdata" ref="a23522b9e7dd0bb0c365cc9cde4c05449" args="(vec &dt)" --> |
83 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a23522b9e7dd0bb0c365cc9cde4c05449">getdata</a> (vec &dt)</td></tr> |
| 82 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa1bd25d052dd50da9854d78e2f2096d0"></a><!-- doxytag: member="bdm::EpdfDS::step" ref="aa1bd25d052dd50da9854d78e2f2096d0" args="()" --> |
| 83 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#aa1bd25d052dd50da9854d78e2f2096d0">step</a> ()</td></tr> |
| 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_18.png"/> to <img class="formulaInl" alt="$ t+1 $" src="form_19.png"/>, i.e. perfroms the actions and reads response of the system. <br/></td></tr> |
| 85 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c4a9d343dd773c4e75b5f2338b9ba7"></a><!-- doxytag: member="bdm::EpdfDS::getdata" ref="a62c4a9d343dd773c4e75b5f2338b9ba7" args="(vec &dt_out)" --> |
| 86 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a62c4a9d343dd773c4e75b5f2338b9ba7">getdata</a> (vec &dt_out)</td></tr> |
88 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6428f2778254e8304fb5a799b7f815a"></a><!-- doxytag: member="bdm::MemDS::set_rvs" ref="ae6428f2778254e8304fb5a799b7f815a" args="(RV &drv, RV &urv)" --> |
89 | | void </td><td class="memItemRight" valign="bottom"><b>set_rvs</b> (<a class="el" href="classbdm_1_1RV.html">RV</a> &drv, <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
90 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a7f17598fe2b458707ba932865beef5"></a><!-- doxytag: member="bdm::MemDS::write" ref="a9a7f17598fe2b458707ba932865beef5" args="(vec &ut)" --> |
91 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a9a7f17598fe2b458707ba932865beef5">write</a> (vec &ut)</td></tr> |
| 91 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a741eaa5986311ce3535a2de2cfb389f8"></a><!-- doxytag: member="bdm::EpdfDS::_drv" ref="a741eaa5986311ce3535a2de2cfb389f8" args="()" --> |
| 92 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_drv</b> ()</td></tr> |
| 93 | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a3fdfb570b5d12332b2ba5662d17badac">from_setting</a> (const Setting &set)</td></tr> |
| 94 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5baeee8528e5e4c5c7a344b2e3f192a"></a><!-- doxytag: member="bdm::EpdfDS::write" ref="af5baeee8528e5e4c5c7a344b2e3f192a" args="(vec &ut)" --> |
| 95 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af5baeee8528e5e4c5c7a344b2e3f192a">write</a> (vec &ut)</td></tr> |
93 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4349a043d00fd82c8d5f5c39673787e5"></a><!-- doxytag: member="bdm::MemDS::write" ref="a4349a043d00fd82c8d5f5c39673787e5" args="(vec &ut, ivec &indices)" --> |
94 | | void </td><td class="memItemRight" valign="bottom"><b>write</b> (vec &ut, ivec &indices)</td></tr> |
95 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21916feb3e5ff960855c09b06a0d279b"></a><!-- doxytag: member="bdm::MemDS::step" ref="a21916feb3e5ff960855c09b06a0d279b" args="()" --> |
96 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a21916feb3e5ff960855c09b06a0d279b">step</a> ()</td></tr> |
97 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_12.png"/> to <img class="formulaInl" alt="$ t+1 $" src="form_13.png"/>, i.e. perfroms the actions and reads response of the system. <br/></td></tr> |
98 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ea231f4066652996cde4826560d93e3"></a><!-- doxytag: member="bdm::MemDS::MemDS" ref="a1ea231f4066652996cde4826560d93e3" args="()" --> |
99 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a1ea231f4066652996cde4826560d93e3">MemDS</a> ()</td></tr> |
100 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br/></td></tr> |
101 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf4cb6fb424f7fedfd7396f60951bbb1"></a><!-- doxytag: member="bdm::MemDS::MemDS" ref="acf4cb6fb424f7fedfd7396f60951bbb1" args="(mat &Dat, ivec &rowid0, ivec &delays0)" --> |
102 | | </td><td class="memItemRight" valign="bottom"><b>MemDS</b> (mat &Dat, ivec &rowid0, ivec &delays0)</td></tr> |
103 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::MemDS::write" ref="a6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
| 97 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::EpdfDS::write" ref="a6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
118 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a821297dfd839d68691324f024e57252f"></a><!-- doxytag: member="bdm::MemDS::set_drv" ref="a821297dfd839d68691324f024e57252f" args="(const RV &drv, const RV &urv)" --> |
119 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a821297dfd839d68691324f024e57252f">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &drv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
120 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random rvariables <br/></td></tr> |
121 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::MemDS::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
| 112 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::EpdfDS::_yrv" ref="ac09878f86907329ac631a3df8755c558" args="() const " --> |
| 113 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ac09878f86907329ac631a3df8755c558">_yrv</a> () const </td></tr> |
| 114 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
| 115 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::EpdfDS::set_drv" ref="a3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &yrv, const RV &urv)" --> |
| 116 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a3a92d77fd97fdb6bf1c8edb1e38c6bbc">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &yrv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
| 117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random variables <br/></td></tr> |
| 118 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::EpdfDS::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
134 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa724f4cbfc32e79bacc044253234e260"></a><!-- doxytag: member="bdm::MemDS::Data" ref="aa724f4cbfc32e79bacc044253234e260" args="" --> |
135 | | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#aa724f4cbfc32e79bacc044253234e260">Data</a></td></tr> |
136 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal matrix of data <br/></td></tr> |
137 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a681ee3831f68f4f20ed54e04e8b3f107"></a><!-- doxytag: member="bdm::MemDS::time" ref="a681ee3831f68f4f20ed54e04e8b3f107" args="" --> |
138 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a681ee3831f68f4f20ed54e04e8b3f107">time</a></td></tr> |
139 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">active column in the Data matrix <br/></td></tr> |
140 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a865814d49913dcf672bb20a4334d3dc4"></a><!-- doxytag: member="bdm::MemDS::rowid" ref="a865814d49913dcf672bb20a4334d3dc4" args="" --> |
141 | | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a865814d49913dcf672bb20a4334d3dc4">rowid</a></td></tr> |
142 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of rows that are presented in Dt <br/></td></tr> |
143 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a166522aed4d3b12d9b3c2afaf6673301"></a><!-- doxytag: member="bdm::MemDS::delays" ref="a166522aed4d3b12d9b3c2afaf6673301" args="" --> |
144 | | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MemDS.html#a166522aed4d3b12d9b3c2afaf6673301">delays</a></td></tr> |
145 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">vector of delays that are presented in Dt <br/></td></tr> |
146 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::MemDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> |
147 | | int </td><td class="memItemRight" valign="bottom"><b>dtsize</b></td></tr> |
148 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::MemDS::utsize" ref="ad7467046a0bd05bc992cc5e1bdedb983" args="" --> |
149 | | int </td><td class="memItemRight" valign="bottom"><b>utsize</b></td></tr> |
150 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::MemDS::Drv" ref="ad8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
| 128 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83784c6ca9d311a38ff768cb0718c5b5"></a><!-- doxytag: member="bdm::EpdfDS::iepdf" ref="a83784c6ca9d311a38ff768cb0718c5b5" args="" --> |
| 129 | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a83784c6ca9d311a38ff768cb0718c5b5">iepdf</a></td></tr> |
| 130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal pointer to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> from which we samplecond <br/></td></tr> |
| 131 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67637d64bcabf6ecb4a80284dc60dc3f"></a><!-- doxytag: member="bdm::EpdfDS::dt" ref="a67637d64bcabf6ecb4a80284dc60dc3f" args="" --> |
| 132 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a67637d64bcabf6ecb4a80284dc60dc3f">dt</a></td></tr> |
| 133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal storage of data sample <br/></td></tr> |
| 134 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::EpdfDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> |
| 135 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> |
| 136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data returned by <code><a class="el" href="classbdm_1_1DS.html#ac1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code> <br/></td></tr> |
| 137 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::EpdfDS::utsize" ref="ad7467046a0bd05bc992cc5e1bdedb983" args="" --> |
| 138 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ad7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr> |
| 139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data <br/></td></tr> |
| 140 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::EpdfDS::ytsize" ref="a22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" --> |
| 141 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr> |
| 142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of output <br/></td></tr> |
| 143 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::EpdfDS::Drv" ref="ad8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
163 | | <p>Memory storage of off-line data column-wise. </p> |
164 | | <p>The data are stored in an internal matrix <code>Data</code> . Each column of Data corresponds to one discrete time observation <img class="formulaInl" alt="$t$" src="form_15.png"/>. Access to this matrix is via indices <code>rowid</code> and <code>delays</code>.</p> |
165 | | <p>The data can be loaded from a file. </p> |
166 | | <hr/>The documentation for this class was generated from the following files:<ul> |
| 159 | <p>Simulate data from a static pdf Trivial example of a data source, could be used for tests of some estimation algorithms. For example, simulating data from a mixture model and feeding them to mixture model estimators. </p> |
| 160 | <hr/><h2>Member Function Documentation</h2> |
| 161 | <a class="anchor" id="a3fdfb570b5d12332b2ba5662d17badac"></a><!-- doxytag: member="bdm::EpdfDS::from_setting" ref="a3fdfb570b5d12332b2ba5662d17badac" args="(const Setting &set)" --> |
| 162 | <div class="memitem"> |
| 163 | <div class="memproto"> |
| 164 | <table class="memname"> |
| 165 | <tr> |
| 166 | <td class="memname">void bdm::EpdfDS::from_setting </td> |
| 167 | <td>(</td> |
| 168 | <td class="paramtype">const Setting & </td> |
| 169 | <td class="paramname"> <em>set</em></td> |
| 170 | <td> ) </td> |
| 171 | <td><code> [inline, virtual]</code></td> |
| 172 | </tr> |
| 173 | </table> |
| 174 | </div> |
| 175 | <div class="memdoc"> |
| 176 | <div class="fragment"><pre class="fragment"> <span class="keyword">class </span>= "PdfDS"; |
| 177 | epdf = {<span class="keyword">class</span>=<span class="stringliteral">"epdf_offspring"</span>, ...}<span class="comment">// list of points</span> |
| 178 | </pre></div> |
| 179 | <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> |
| 180 | |
| 181 | <p>References <a class="el" href="datasources_8h_source.html#l00068">dt</a>, and <a class="el" href="datasources_8h_source.html#l00066">iepdf</a>.</p> |
| 182 | |
| 183 | </div> |
| 184 | </div> |
| 185 | <hr/>The documentation for this class was generated from the following file:<ul> |