Changeset 472 for library/doc/html/classbdm_1_1mratio.html
- Timestamp:
- 08/05/09 00:16:53 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mratio.html
r401 r472 5 5 <link href="doxygen.css" rel="stylesheet" type="text/css"> 6 6 </head><body> 7 <!-- Generated by Doxygen 1.5. 8-->7 <!-- Generated by Doxygen 1.5.9 --> 8 8 <script type="text/javascript"> 9 9 <!-- … … 52 52 <li><a href="main.html"><span>Main Page</span></a></li> 53 53 <li><a href="pages.html"><span>Related Pages</span></a></li> 54 <li><a href="modules.html"><span>Modules</span></a></li>55 54 <li class="current"><a href="annotated.html"><span>Classes</span></a></li> 56 55 <li><a href="files.html"><span>Files</span></a></li> … … 75 74 <a href="#_details">More...</a> 76 75 <p> 77 <code>#include <<a class="el" href="emix_8h -source.html">emix.h</a>></code>76 <code>#include <<a class="el" href="emix_8h_source.html">emix.h</a>></code> 78 77 <p> 79 78 … … 111 110 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> 112 111 <tr><td colspan="2"><div class="groupHeader">Matematical operations</div></td></tr> 113 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html# f0c1db6fcbb3aae2dd6123884457a367">samplecond</a> (const vec &cond)</td></tr>114 115 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">. <a href="# f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr>116 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html# afe4185b26baeb03688202e254d3b005">samplecond_m</a> (const vec &cond, int N)</td></tr>117 118 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="# afe4185b26baeb03688202e254d3b005"></a><br></td></tr>112 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#b024f2e636e5507c755de4a6df1f1e99">samplecond</a> (const vec &cond)</td></tr> 113 114 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">. <a href="#b024f2e636e5507c755de4a6df1f1e99"></a><br></td></tr> 115 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#6e497d501331057309d2fddf63259d1a">samplecond_m</a> (const vec &cond, int N)</td></tr> 116 117 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#6e497d501331057309d2fddf63259d1a"></a><br></td></tr> 119 118 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db94784a9aacf74c65c5a014f6743530"></a><!-- doxytag: member="bdm::mratio::condition" ref="db94784a9aacf74c65c5a014f6743530" args="(const vec &cond)" --> 120 119 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#db94784a9aacf74c65c5a014f6743530">condition</a> (const vec &cond)</td></tr> 121 120 122 121 <tr><td class="mdescLeft"> </td><td class="mdescRight">Update <code>ep</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> conditioned on <code>rvc</code> = cond. <br></td></tr> 123 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 0b0ed1ed663071bb7cf4a1349eb94fcb"></a><!-- doxytag: member="bdm::mratio::evallogcond_m" ref="0b0ed1ed663071bb7cf4a1349eb94fcb" args="(const mat &Dt, const vec &cond)" -->124 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html# 0b0ed1ed663071bb7cf4a1349eb94fcb">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr>122 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f97c61ecfb1f44ef6f08dee7bc15eab3"></a><!-- doxytag: member="bdm::mratio::evallogcond_m" ref="f97c61ecfb1f44ef6f08dee7bc15eab3" args="(const mat &Dt, const vec &cond)" --> 123 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#f97c61ecfb1f44ef6f08dee7bc15eab3">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> 125 124 126 125 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of evallogcond. <br></td></tr> 127 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2 a0d03756f59924fd038980ee60bd904"></a><!-- doxytag: member="bdm::mratio::evallogcond_m" ref="2a0d03756f59924fd038980ee60bd904" args="(const Array< vec > &Dt, const vec &cond)" -->128 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#2 a0d03756f59924fd038980ee60bd904">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr>126 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d7d3c23e3273e97c12c396dcc06b606"></a><!-- doxytag: member="bdm::mratio::evallogcond_m" ref="2d7d3c23e3273e97c12c396dcc06b606" args="(const Array< vec > &Dt, const vec &cond)" --> 127 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#2d7d3c23e3273e97c12c396dcc06b606">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> 129 128 130 129 <tr><td class="mdescLeft"> </td><td class="mdescRight">Array<vec> version of evallogcond. <br></td></tr> … … 142 141 int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> 143 142 144 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1892fe3933488942253679f068e9e7f6"></a><!-- doxytag: member="bdm::mratio::_epdf" ref="1892fe3933488942253679f068e9e7f6" args="()" -->145 <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><b>_epdf</b> ()</td></tr>146 147 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 05e843fd11c410a99dad2b88c55aca80"></a><!-- doxytag: member="bdm::mratio::_e" ref="05e843fd11c410a99dad2b88c55aca80" args="()" -->148 <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><b>_e</b> ()</td></tr>143 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c2d7d3d1d75cca84993e77867d1ffbe"></a><!-- doxytag: member="bdm::mratio::e" ref="4c2d7d3d1d75cca84993e77867d1ffbe" args="()" --> 144 <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><b>e</b> ()</td></tr> 145 146 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ba1b384c9c1cb18422a8ba32a5d019"></a><!-- doxytag: member="bdm::mratio::set_ep" ref="a4ba1b384c9c1cb18422a8ba32a5d019" args="(shared_ptr< epdf > ep)" --> 147 void </td><td class="memItemRight" valign="bottom"><b>set_ep</b> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > ep)</td></tr> 149 148 150 149 <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> … … 183 182 184 183 <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> 185 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5eea43c56d38e4441bfb30270db949c0"></a><!-- doxytag: member="bdm::mratio::ep" ref="5eea43c56d38e4441bfb30270db949c0" args="" -->186 <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0">ep</a></td></tr>187 188 <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer to internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> <br></td></tr>189 184 </table> 190 185 <hr><a name="_details"></a><h2>Detailed Description</h2> … … 229 224 <p> 230 225 Default constructor. By default, the given <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> is not copied! It is assumed that this function will be used only temporarily. 231 <p>References <a class="el" href="bdmbase_8h -source.html#l00123">bdm::RV::_dsize()</a>, <a class="el" href="bdmbase_8h-source.html#l00311">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h-source.html#l00041">den</a>, <a class="el" href="emix_8h-source.html#l00043">destroynom</a>, <a class="el" href="bdmbase_8h-source.html#l00344">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h-source.html#l00045">dl</a>, <a class="el" href="bdmbase_8h-source.html#l00348">bdm::mpdf::ep</a>, <a class="el" href="bdmbase_8h-source.html#l00127">bdm::RV::length()</a>, <a class="el" href="bdmbase_8h-source.html#l00284">bdm::epdf::marginal()</a>, <a class="el" href="emix_8h-source.html#l00039">nom</a>, <a class="el" href="bdmbase_8h-source.html#l00346">bdm::mpdf::rvc</a>, <a class="el" href="bdmbase_8h-source.html#l00512">bdm::datalink_m2e::set_connection()</a>, <a class="el" href="bdmbase_8h-source.html#l00256">bdm::epdf::set_parameters()</a>, <a class="el" href="bdmbase_8h-source.html#l00307">bdm::epdf::set_rv()</a>, and <a class="el" href="bdmbase_8cpp-source.html#l00193">bdm::RV::subt()</a>.</p>226 <p>References <a class="el" href="bdmbase_8h_source.html#l00316">bdm::epdf::_rv()</a>, <a class="el" href="emix_8h_source.html#l00042">den</a>, <a class="el" href="emix_8h_source.html#l00044">destroynom</a>, <a class="el" href="bdmbase_8h_source.html#l00349">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h_source.html#l00046">dl</a>, <a class="el" href="bdmbase_8h_source.html#l00289">bdm::epdf::marginal()</a>, <a class="el" href="emix_8h_source.html#l00040">nom</a>, <a class="el" href="bdmbase_8h_source.html#l00351">bdm::mpdf::rvc</a>, <a class="el" href="bdmbase_8h_source.html#l00312">bdm::epdf::set_rv()</a>, and <a class="el" href="bdmbase_8cpp_source.html#l00259">bdm::RV::subt()</a>.</p> 232 227 233 228 </div> … … 244 239 <td class="paramname"> <em>set</em> </td> 245 240 <td> ) </td> 246 <td><code> [ inline,virtual, inherited]</code></td>241 <td><code> [virtual, inherited]</code></td> 247 242 </tr> 248 243 </table> … … 258 253 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 259 254 260 <p>Reimplemented in <a class="el" href="classbdm_1_1mepdf.html#27ef18a3e3b1b5de02739d1324bf25fb">bdm::mepdf</a>, <a class="el" href="classbdm_1_1mprod.html#bfa7478f8df1de6d8cd4c349db512831">bdm::mprod</a>, <a class="el" href="classbdm_1_1m gnorm.html#d717dacc6a9eb967f8410994dc6dc6f9">bdm::mgnorm< sq_T ></a>, <a class="el" href="classbdm_1_1mgamma.html#da2af0f327e5452bee71d1bf97452ae4">bdm::mgamma</a>, <a class="el" href="classbdm_1_1migamma__ref.html#9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d">bdm::migamma_ref</a>, and <a class="el" href="classbdm_1_1mlognorm.html#49e45ea13a869da607ef9be7a229128a">bdm::mlognorm</a>.</p>255 <p>Reimplemented in <a class="el" href="classbdm_1_1mepdf.html#27ef18a3e3b1b5de02739d1324bf25fb">bdm::mepdf</a>, <a class="el" href="classbdm_1_1mprod.html#bfa7478f8df1de6d8cd4c349db512831">bdm::mprod</a>, <a class="el" href="classbdm_1_1mlnorm.html#8582928555c309a2865f385dd0441fd1">bdm::mlnorm< sq_T ></a>, <a class="el" href="classbdm_1_1mgnorm.html#d717dacc6a9eb967f8410994dc6dc6f9">bdm::mgnorm< sq_T ></a>, <a class="el" href="classbdm_1_1mgamma.html#da2af0f327e5452bee71d1bf97452ae4">bdm::mgamma</a>, <a class="el" href="classbdm_1_1migamma__ref.html#9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d">bdm::migamma_ref</a>, <a class="el" href="classbdm_1_1mlognorm.html#49e45ea13a869da607ef9be7a229128a">bdm::mlognorm</a>, <a class="el" href="classbdm_1_1mlnorm.html#8582928555c309a2865f385dd0441fd1">bdm::mlnorm< chmat ></a>, and <a class="el" href="classbdm_1_1mlnorm.html#8582928555c309a2865f385dd0441fd1">bdm::mlnorm< ldmat ></a>.</p> 261 256 262 257 </div> 263 258 </div><p> 264 <a class="anchor" name=" f0c1db6fcbb3aae2dd6123884457a367"></a><!-- doxytag: member="bdm::mratio::samplecond" ref="f0c1db6fcbb3aae2dd6123884457a367" args="(const vec &cond)" -->259 <a class="anchor" name="b024f2e636e5507c755de4a6df1f1e99"></a><!-- doxytag: member="bdm::mratio::samplecond" ref="b024f2e636e5507c755de4a6df1f1e99" args="(const vec &cond)" --> 265 260 <div class="memitem"> 266 261 <div class="memproto"> 267 262 <table class="memname"> 268 263 <tr> 269 <td class="memname">v irtual vec bdm::mpdf::samplecond </td>264 <td class="memname">vec bdm::mpdf::samplecond </td> 270 265 <td>(</td> 271 266 <td class="paramtype">const vec & </td> 272 267 <td class="paramname"> <em>cond</em> </td> 273 268 <td> ) </td> 274 <td><code> [ inline,virtual, inherited]</code></td>269 <td><code> [virtual, inherited]</code></td> 275 270 </tr> 276 271 </table> … … 289 284 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 290 285 291 <p>References <a class="el" href="bdmbase_8h -source.html#l00376">bdm::mpdf::condition()</a>, <a class="el" href="bdmbase_8h-source.html#l00348">bdm::mpdf::ep</a>, and <a class="el" href="bdmbase_8h-source.html#l00263">bdm::epdf::sample()</a>.</p>292 293 <p>Referenced by <a class="el" href="particles_8h -source.html#l00207">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="particles_8cpp-source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="datasources_8cpp-source.html#l00043">bdm::ArxDS::step()</a>.</p>286 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 287 288 <p>Referenced by <a class="el" href="particles_8h_source.html#l00207">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="particles_8cpp_source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="datasources_8cpp_source.html#l00043">bdm::ArxDS::step()</a>.</p> 294 289 295 290 </div> 296 291 </div><p> 297 <a class="anchor" name=" afe4185b26baeb03688202e254d3b005"></a><!-- doxytag: member="bdm::mratio::samplecond_m" ref="afe4185b26baeb03688202e254d3b005" args="(const vec &cond, int N)" -->292 <a class="anchor" name="6e497d501331057309d2fddf63259d1a"></a><!-- doxytag: member="bdm::mratio::samplecond_m" ref="6e497d501331057309d2fddf63259d1a" args="(const vec &cond, int N)" --> 298 293 <div class="memitem"> 299 294 <div class="memproto"> 300 295 <table class="memname"> 301 296 <tr> 302 <td class="memname"> virtualmat bdm::mpdf::samplecond_m </td>297 <td class="memname">mat bdm::mpdf::samplecond_m </td> 303 298 <td>(</td> 304 299 <td class="paramtype">const vec & </td> … … 314 309 <td></td> 315 310 <td>)</td> 316 <td></td><td></td><td><code> [ inline,virtual, inherited]</code></td>311 <td></td><td></td><td><code> [virtual, inherited]</code></td> 317 312 </tr> 318 313 </table> … … 330 325 </dl> 331 326 332 <p>References <a class="el" href="bdmbase_8h -source.html#l00376">bdm::mpdf::condition()</a>, <a class="el" href="bdmbase_8h-source.html#l00318">bdm::epdf::dimension()</a>, <a class="el" href="bdmbase_8h-source.html#l00348">bdm::mpdf::ep</a>, and <a class="el" href="bdmbase_8h-source.html#l00263">bdm::epdf::sample()</a>.</p>327 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 333 328 334 329 </div> 335 330 </div><p> 336 331 <hr>The documentation for this class was generated from the following file:<ul> 337 <li><a class="el" href="emix_8h -source.html">emix.h</a></ul>338 </div> 339 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 1 13:05:572009 for mixpp by 332 <li><a class="el" href="emix_8h_source.html">emix.h</a></ul> 333 </div> 334 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:07:00 2009 for mixpp by 340 335 <a href="http://www.doxygen.org/index.html"> 341 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5. 8</small></address>336 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> 342 337 </body> 343 338 </html>