Changeset 472 for library/doc/html/classbdm_1_1mlstudent.html
- Timestamp:
- 08/05/09 00:16:53 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mlstudent.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> … … 69 68 </div> 70 69 <div class="contents"> 71 <h1>bdm::mlstudent Class Reference</h1><!-- doxytag: class="bdm::mlstudent" --><!-- doxytag: inherits="mlnorm< ldmat >" --><code>#include <<a class="el" href="exp__family_8h -source.html">exp_family.h</a>></code>70 <h1>bdm::mlstudent Class Reference</h1><!-- doxytag: class="bdm::mlstudent" --><!-- doxytag: inherits="mlnorm< ldmat >" --><code>#include <<a class="el" href="exp__family_8h_source.html">exp_family.h</a>></code> 72 71 <p> 73 72 … … 93 92 94 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 95 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1m pdf.html#30a0bceb948e287d497c578e371b1667">from_setting</a> (const Setting &set)</td></tr>94 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#8582928555c309a2865f385dd0441fd1">from_setting</a> (const Setting &set)</td></tr> 96 95 97 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mlstudent::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> … … 113 112 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set <code>A</code> and <code>R</code>. <br></td></tr> 114 113 <tr><td colspan="2"><div class="groupHeader">Matematical operations</div></td></tr> 115 <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>116 117 <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>118 <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>119 120 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="# afe4185b26baeb03688202e254d3b005"></a><br></td></tr>121 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 6336a8a72462e2a56a3989a220f18b1b"></a><!-- doxytag: member="bdm::mlstudent::evallogcond" ref="6336a8a72462e2a56a3989a220f18b1b" args="(const vec &dt, const vec &cond)" -->122 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html# 6336a8a72462e2a56a3989a220f18b1b">evallogcond</a> (const vec &dt, const vec &cond)</td></tr>114 <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> 115 116 <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> 117 <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> 118 119 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#6e497d501331057309d2fddf63259d1a"></a><br></td></tr> 120 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfcbb897bf42015a7979b17d891fd9b5"></a><!-- doxytag: member="bdm::mlstudent::evallogcond" ref="cfcbb897bf42015a7979b17d891fd9b5" args="(const vec &dt, const vec &cond)" --> 121 virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#cfcbb897bf42015a7979b17d891fd9b5">evallogcond</a> (const vec &dt, const vec &cond)</td></tr> 123 122 124 123 <tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr> 125 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 0b0ed1ed663071bb7cf4a1349eb94fcb"></a><!-- doxytag: member="bdm::mlstudent::evallogcond_m" ref="0b0ed1ed663071bb7cf4a1349eb94fcb" args="(const mat &Dt, const vec &cond)" -->126 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>124 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f97c61ecfb1f44ef6f08dee7bc15eab3"></a><!-- doxytag: member="bdm::mlstudent::evallogcond_m" ref="f97c61ecfb1f44ef6f08dee7bc15eab3" args="(const mat &Dt, const vec &cond)" --> 125 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> 127 126 128 127 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of evallogcond. <br></td></tr> 129 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2 a0d03756f59924fd038980ee60bd904"></a><!-- doxytag: member="bdm::mlstudent::evallogcond_m" ref="2a0d03756f59924fd038980ee60bd904" args="(const Array< vec > &Dt, const vec &cond)" -->130 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>128 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d7d3c23e3273e97c12c396dcc06b606"></a><!-- doxytag: member="bdm::mlstudent::evallogcond_m" ref="2d7d3c23e3273e97c12c396dcc06b606" args="(const Array< vec > &Dt, const vec &cond)" --> 129 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> 131 130 132 131 <tr><td class="mdescLeft"> </td><td class="mdescRight">Array<vec> version of evallogcond. <br></td></tr> … … 144 143 int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> 145 144 146 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1892fe3933488942253679f068e9e7f6"></a><!-- doxytag: member="bdm::mlstudent::_epdf" ref="1892fe3933488942253679f068e9e7f6" args="()" -->147 <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><b>_epdf</b> ()</td></tr>148 149 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 05e843fd11c410a99dad2b88c55aca80"></a><!-- doxytag: member="bdm::mlstudent::_e" ref="05e843fd11c410a99dad2b88c55aca80" args="()" -->150 <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><b>_e</b> ()</td></tr>145 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c2d7d3d1d75cca84993e77867d1ffbe"></a><!-- doxytag: member="bdm::mlstudent::e" ref="4c2d7d3d1d75cca84993e77867d1ffbe" args="()" --> 146 <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><b>e</b> ()</td></tr> 147 148 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ba1b384c9c1cb18422a8ba32a5d019"></a><!-- doxytag: member="bdm::mlstudent::set_ep" ref="a4ba1b384c9c1cb18422a8ba32a5d019" args="(shared_ptr< epdf > ep)" --> 149 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> 151 150 152 151 <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> … … 170 169 <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><b>Re</b></td></tr> 171 170 172 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 150ad6acb223b0a0abeaf92346686dcd"></a><!-- doxytag: member="bdm::mlstudent::epdf" ref="150ad6acb223b0a0abeaf92346686dcd" args="" -->173 <a class="el" href="classbdm_1_1 enorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#150ad6acb223b0a0abeaf92346686dcd">epdf</a></td></tr>171 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6de45ab731143e70a94318df586c36ba"></a><!-- doxytag: member="bdm::mlstudent::iepdf" ref="6de45ab731143e70a94318df586c36ba" args="" --> 172 <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1enorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlnorm.html#6de45ab731143e70a94318df586c36ba">iepdf</a></td></tr> 174 173 175 174 <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal epdf that arise by conditioning on <code>rvc</code>. <br></td></tr> … … 191 190 192 191 <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> 193 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5eea43c56d38e4441bfb30270db949c0"></a><!-- doxytag: member="bdm::mlstudent::ep" ref="5eea43c56d38e4441bfb30270db949c0" args="" -->194 <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>195 196 <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>197 192 <tr><td colspan="2"><br><h2>Friends</h2></td></tr> 198 193 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1917009347bb410f73bf827df8767b09"></a><!-- doxytag: member="bdm::mlstudent::operator<<" ref="1917009347bb410f73bf827df8767b09" args="(std::ostream &os, mlnorm< sq_M > &ml)" --> … … 224 219 <p>Reimplemented from <a class="el" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">bdm::mlnorm< ldmat ></a>.</p> 225 220 226 <p>References <a class="el" href="exp__family_8h -source.html#l00551">bdm::mlnorm< ldmat >::_R()</a>, <a class="el" href="square__mat_8cpp-source.html#l00168">ldmat::invqform()</a>, and <a class="el" href="square__mat_8h-source.html#l00289">ldmat::rows()</a>.</p>221 <p>References <a class="el" href="exp__family_8h_source.html#l00560">bdm::mlnorm< ldmat >::_R()</a>, <a class="el" href="square__mat_8cpp_source.html#l00168">ldmat::invqform()</a>, and <a class="el" href="square__mat_8h_source.html#l00095">sqmat::rows()</a>.</p> 227 222 228 223 </div> 229 224 </div><p> 230 <a class="anchor" name=" 30a0bceb948e287d497c578e371b1667"></a><!-- doxytag: member="bdm::mlstudent::from_setting" ref="30a0bceb948e287d497c578e371b1667" args="(const Setting &set)" -->225 <a class="anchor" name="8582928555c309a2865f385dd0441fd1"></a><!-- doxytag: member="bdm::mlstudent::from_setting" ref="8582928555c309a2865f385dd0441fd1" args="(const Setting &set)" --> 231 226 <div class="memitem"> 232 227 <div class="memproto"> 233 228 <table class="memname"> 234 229 <tr> 235 <td class="memname">void bdm::mpdf::from_setting </td>230 <td class="memname">void <a class="el" href="classbdm_1_1mlnorm.html">bdm::mlnorm</a>< <a class="el" href="classldmat.html">ldmat</a> >::from_setting </td> 236 231 <td>(</td> 237 232 <td class="paramtype">const Setting & </td> … … 250 245 } 251 246 </pre></div> 252 <p>Reimplemented from <a class="el" href="classbdm_1_1 root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p>253 254 <p>Re implemented 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_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>, and <a class="el" href="classbdm_1_1mlognorm.html#49e45ea13a869da607ef9be7a229128a">bdm::mlognorm</a>.</p>247 <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 248 249 <p>References <a class="el" href="exp__family_8h_source.html#l00565">bdm::mlnorm< sq_T >::from_setting()</a>, <a class="el" href="user__info_8h_source.html#l00387">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h_source.html#l01261">bdm::mlnorm< sq_T >::set_parameters()</a>.</p> 255 250 256 251 </div> 257 252 </div><p> 258 <a class="anchor" name=" f0c1db6fcbb3aae2dd6123884457a367"></a><!-- doxytag: member="bdm::mlstudent::samplecond" ref="f0c1db6fcbb3aae2dd6123884457a367" args="(const vec &cond)" -->253 <a class="anchor" name="b024f2e636e5507c755de4a6df1f1e99"></a><!-- doxytag: member="bdm::mlstudent::samplecond" ref="b024f2e636e5507c755de4a6df1f1e99" args="(const vec &cond)" --> 259 254 <div class="memitem"> 260 255 <div class="memproto"> 261 256 <table class="memname"> 262 257 <tr> 263 <td class="memname">v irtual vec bdm::mpdf::samplecond </td>258 <td class="memname">vec bdm::mpdf::samplecond </td> 264 259 <td>(</td> 265 260 <td class="paramtype">const vec & </td> 266 261 <td class="paramname"> <em>cond</em> </td> 267 262 <td> ) </td> 268 <td><code> [ inline,virtual, inherited]</code></td>263 <td><code> [virtual, inherited]</code></td> 269 264 </tr> 270 265 </table> … … 283 278 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 284 279 285 <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>286 287 <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>280 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 281 282 <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> 288 283 289 284 </div> 290 285 </div><p> 291 <a class="anchor" name=" afe4185b26baeb03688202e254d3b005"></a><!-- doxytag: member="bdm::mlstudent::samplecond_m" ref="afe4185b26baeb03688202e254d3b005" args="(const vec &cond, int N)" -->286 <a class="anchor" name="6e497d501331057309d2fddf63259d1a"></a><!-- doxytag: member="bdm::mlstudent::samplecond_m" ref="6e497d501331057309d2fddf63259d1a" args="(const vec &cond, int N)" --> 292 287 <div class="memitem"> 293 288 <div class="memproto"> 294 289 <table class="memname"> 295 290 <tr> 296 <td class="memname"> virtualmat bdm::mpdf::samplecond_m </td>291 <td class="memname">mat bdm::mpdf::samplecond_m </td> 297 292 <td>(</td> 298 293 <td class="paramtype">const vec & </td> … … 308 303 <td></td> 309 304 <td>)</td> 310 <td></td><td></td><td><code> [ inline,virtual, inherited]</code></td>305 <td></td><td></td><td><code> [virtual, inherited]</code></td> 311 306 </tr> 312 307 </table> … … 324 319 </dl> 325 320 326 <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>321 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 327 322 328 323 </div> 329 324 </div><p> 330 325 <hr>The documentation for this class was generated from the following file:<ul> 331 <li><a class="el" href="exp__family_8h -source.html">exp_family.h</a></ul>332 </div> 333 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 1 13:05:572009 for mixpp by 326 <li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></ul> 327 </div> 328 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:07:02 2009 for mixpp by 334 329 <a href="http://www.doxygen.org/index.html"> 335 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5. 8</small></address>330 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> 336 331 </body> 337 332 </html>