Changeset 608 for library/doc/html/classbdm_1_1mmix.html
- Timestamp:
- 09/12/09 11:41:43 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mmix.html
r591 r608 89 89 <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> 90 90 <tr><td class="memItemLeft" align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mmix.html#ac97f01cd62bf63e67ddd5b1b8a56cf59">samplecond</a> (const vec &cond)</td></tr> 91 <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_1 1.png"/>. <a href="#ac97f01cd62bf63e67ddd5b1b8a56cf59"></a><br/></td></tr>91 <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_16.png"/>. <a href="#ac97f01cd62bf63e67ddd5b1b8a56cf59"></a><br/></td></tr> 92 92 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a30a0bceb948e287d497c578e371b1667">from_setting</a> (const Setting &set)</td></tr> 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">Load from structure with elements:. <a href="#a30a0bceb948e287d497c578e371b1667"></a><br/></td></tr> 93 94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mmix::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 94 95 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> … … 114 115 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 115 116 <br/><br/></div></td></tr> 116 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a 222d5280e309c5a053ba73841e98c151"></a><!-- doxytag: member="bdm::mmix::_rv" ref="a222d5280e309c5a053ba73841e98c151" args="() const " -->117 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr>118 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a 26001264236846897bd11e4baad47245"></a><!-- doxytag: member="bdm::mmix::_rvc" ref="a26001264236846897bd11e4baad47245" args="()" -->119 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rvc</b> ()</td></tr>117 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::mmix::_rv" ref="aaa0095f80870f15209bca68a8a7bad8a" args="() const " --> 118 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> 119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::mmix::_rvc" ref="a739d5202899bb56792a547c74e517a11" args="() const " --> 120 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rvc</b> () const </td></tr> 120 121 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mmix::dimension" ref="aeea4a999ed9679181335927e9cb66d28" args="() const " --> 121 122 int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> … … 173 174 </div> 174 175 <div class="memdoc"> 175 <p>Load from structure with elements: </p> 176 <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "mpdf_offspring", 177 rv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 178 <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a>= {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable in condition</span> 179 <span class="comment">// elements of offsprings</span> 180 } 176 177 <p>Load from structure with elements:. </p> 178 <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "mpdf_offspring", 179 rv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 180 <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a>= {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable in condition</span> 181 <span class="comment">// elements of offsprings</span> 182 } 181 183 </pre></div> 182 184 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> … … 202 204 <div class="memdoc"> 203 205 204 <p>Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_1 1.png"/>. </p>206 <p>Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_16.png"/>. </p> 205 207 <dl><dt><b>Parameters:</b></dt><dd> 206 208 <table border="0" cellspacing="2" cellpadding="0"> … … 244 246 <dl><dt><b>Parameters:</b></dt><dd> 245 247 <table border="0" cellspacing="2" cellpadding="0"> 246 <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_1 1.png"/>. </td></tr>248 <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_16.png"/>. </td></tr> 247 249 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 248 250 </table> … … 252 254 <p>Reimplemented in <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< EPDF ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< enorm< sq_T > ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< elognorm ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< TEpdf< sq_T > ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< egamma ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< enorm< ldmat > ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< eiWishartCh ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< eigamma ></a>, and <a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< enorm< chmat > ></a>.</p> 253 255 254 <p>References <a class="el" href="bdmbase_8h_source.html#l004 33">bdm::mpdf::samplecond()</a>.</p>256 <p>References <a class="el" href="bdmbase_8h_source.html#l00478">bdm::mpdf::samplecond()</a>.</p> 255 257 256 258 </div> … … 283 285 <p>Set weights <code>w</code> and components <code>R</code>. </p> 284 286 285 <p><dl class="todo"><dt><b><a class="el" href="todo.html#_todo00000 3">Todo:</a></b></dt><dd>check if all components are OK </dd></dl>287 <p><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>check if all components are OK </dd></dl> 286 288 </p> 287 289 288 <p>References <a class="el" href=" emix_8h_source.html#l00467">Coms</a>, <a class="el" href="bdmbase_8h_source.html#l00403">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h_source.html#l00471">dummy_epdf</a>, <a class="el" href="bdmbase_8h_source.html#l00405">bdm::mpdf::rvc</a>, and <a class="el" href="emix_8h_source.html#l00469">w</a>.</p>290 <p>References <a class="el" href="bdmbase_8h_source.html#l00154">bdm::RV::_dsize()</a>, <a class="el" href="emix_8h_source.html#l00467">Coms</a>, <a class="el" href="bdmbase_8h_source.html#l00448">bdm::mpdf::dimc</a>, <a class="el" href="emix_8h_source.html#l00471">dummy_epdf</a>, <a class="el" href="bdmbase_8h_source.html#l00450">bdm::mpdf::rvc</a>, and <a class="el" href="emix_8h_source.html#l00469">w</a>.</p> 289 291 290 292 </div> … … 295 297 </ul> 296 298 </div> 297 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:512009 for mixpp by 299 <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 8 22:11:33 2009 for mixpp by 298 300 <a href="http://www.doxygen.org/index.html"> 299 301 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>