Changeset 538 for library/doc/html/classbdm_1_1mepdf.html
- Timestamp:
- 08/16/09 18:14:04 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mepdf.html
r472 r538 5 5 <link href="doxygen.css" rel="stylesheet" type="text/css"> 6 6 </head><body> 7 <!-- Generated by Doxygen 1.5. 9-->7 <!-- Generated by Doxygen 1.5.8 --> 8 8 <script type="text/javascript"> 9 9 <!-- … … 68 68 </div> 69 69 <div class="contents"> 70 <h1>bdm::mepdf Class Reference</h1><!-- doxytag: class="bdm::mepdf" --><!-- doxytag: inherits="bdm::mpdf" -->Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>.70 <h1>bdm::mepdf Class Reference</h1><!-- doxytag: class="bdm::mepdf" --><!-- doxytag: inherits="bdm::mpdf" -->Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>. 71 71 <a href="#_details">More...</a> 72 72 <p> 73 <code>#include <<a class="el" href="bdmbase_8h _source.html">bdmbase.h</a>></code>73 <code>#include <<a class="el" href="bdmbase_8h-source.html">bdmbase.h</a>></code> 74 74 <p> 75 75 … … 83 83 <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> 84 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1f94e70702ff676f53d95ca7ec38e25c"></a><!-- doxytag: member="bdm::mepdf::mepdf" ref="1f94e70702ff676f53d95ca7ec38e25c" args="(shared_ptr< epdf > em)" --> 85 </td><td class="memItemRight" valign="bottom"><b>mepdf</b> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > em)</td></tr> 86 87 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b2b898058169e7ed9a6dc7cd4e1c147c"></a><!-- doxytag: member="bdm::mepdf::condition" ref="b2b898058169e7ed9a6dc7cd4e1c147c" args="(const vec &cond)" --> 88 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#b2b898058169e7ed9a6dc7cd4e1c147c">condition</a> (const vec &cond)</td></tr> 85 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#1f94e70702ff676f53d95ca7ec38e25c">mepdf</a> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > em)</td></tr> 86 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set internal shared pointer. <br></td></tr> 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b904a90ef78294040b498717cc13015e"></a><!-- doxytag: member="bdm::mepdf::samplecond" ref="b904a90ef78294040b498717cc13015e" args="(const vec &cond)" --> 89 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#b904a90ef78294040b498717cc13015e">samplecond</a> (const vec &cond)</td></tr> 89 90 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">empty <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57decd7718f3789e9d1f10f19def935b"></a><!-- doxytag: member="bdm::mepdf::evallogcond" ref="57decd7718f3789e9d1f10f19def935b" args="(const vec &val, const vec &cond)" --> 93 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#57decd7718f3789e9d1f10f19def935b">evallogcond</a> (const vec &val, const vec &cond)</td></tr> 94 95 <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> 91 96 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html#27ef18a3e3b1b5de02739d1324bf25fb">from_setting</a> (const Setting &set)</td></tr> 92 97 … … 104 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> 105 110 <tr><td colspan="2"><div class="groupHeader">Matematical operations</div></td></tr> 106 <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>107 108 <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>109 111 <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> 110 112 111 113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#6e497d501331057309d2fddf63259d1a"></a><br></td></tr> 112 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfcbb897bf42015a7979b17d891fd9b5"></a><!-- doxytag: member="bdm::mepdf::evallogcond" ref="cfcbb897bf42015a7979b17d891fd9b5" args="(const vec &dt, const vec &cond)" --> 113 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> 114 115 <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> 116 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f97c61ecfb1f44ef6f08dee7bc15eab3"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="f97c61ecfb1f44ef6f08dee7bc15eab3" args="(const mat &Dt, const vec &cond)" --> 117 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> 114 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b0ed1ed663071bb7cf4a1349eb94fcb"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="0b0ed1ed663071bb7cf4a1349eb94fcb" args="(const mat &Dt, const vec &cond)" --> 115 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> 118 116 119 117 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of evallogcond. <br></td></tr> 120 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2 d7d3c23e3273e97c12c396dcc06b606"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="2d7d3c23e3273e97c12c396dcc06b606" args="(const Array< vec > &Dt, const vec &cond)" -->121 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#2 d7d3c23e3273e97c12c396dcc06b606">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr>118 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a0d03756f59924fd038980ee60bd904"></a><!-- doxytag: member="bdm::mepdf::evallogcond_m" ref="2a0d03756f59924fd038980ee60bd904" args="(const Array< vec > &Dt, const vec &cond)" --> 119 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#2a0d03756f59924fd038980ee60bd904">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> 122 120 123 121 <tr><td class="mdescLeft"> </td><td class="mdescRight">Array<vec> version of evallogcond. <br></td></tr> 124 122 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 125 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 5571482d150fbcb72cc36f6694ce1a10"></a><!-- doxytag: member="bdm::mepdf::_rv" ref="5571482d150fbcb72cc36f6694ce1a10" args="()" -->126 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rv</b> () </td></tr>123 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="222d5280e309c5a053ba73841e98c151"></a><!-- doxytag: member="bdm::mepdf::_rv" ref="222d5280e309c5a053ba73841e98c151" args="() const " --> 124 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> 127 125 128 126 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26001264236846897bd11e4baad47245"></a><!-- doxytag: member="bdm::mepdf::_rvc" ref="26001264236846897bd11e4baad47245" args="()" --> 129 127 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rvc</b> ()</td></tr> 130 128 131 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name=" 1c2bae3e1e90874e72941863974ec0ed"></a><!-- doxytag: member="bdm::mepdf::dimension" ref="1c2bae3e1e90874e72941863974ec0ed" args="()" -->132 int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () </td></tr>129 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mepdf::dimension" ref="eea4a999ed9679181335927e9cb66d28" args="() const " --> 130 int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> 133 131 134 132 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::mepdf::dimensionc" ref="35e135910aed187b7290742f50e61bc8" args="()" --> 135 133 int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> 136 137 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c2d7d3d1d75cca84993e77867d1ffbe"></a><!-- doxytag: member="bdm::mepdf::e" ref="4c2d7d3d1d75cca84993e77867d1ffbe" args="()" -->138 <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><b>e</b> ()</td></tr>139 140 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ba1b384c9c1cb18422a8ba32a5d019"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="a4ba1b384c9c1cb18422a8ba32a5d019" args="(shared_ptr< epdf > ep)" -->141 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>142 134 143 135 <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> … … 151 143 bool </td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> 152 144 145 <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> 146 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> 147 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &iepdf)</td></tr> 148 149 <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> 150 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mepdf::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> 151 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr> 152 153 <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> 153 154 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 154 155 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mepdf::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" --> … … 162 163 </table> 163 164 <hr><a name="_details"></a><h2>Detailed Description</h2> 164 Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>.165 Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>. 165 166 <p> 166 167 <hr><h2>Member Function Documentation</h2> … … 182 183 183 184 <p> 184 Load from structure with elements: <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "<a class="code" href="classbdm_1_1mepdf.html#4a2b01e7bb510c6b8946757cae6c9155" title="Default constructor.">mepdf</a>", 185 epdf s = {<span class="keyword">class</span>=<span class="stringliteral">"epdfs"</span>,...}185 Load from structure with elements: <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "<a class="code" href="classbdm_1_1mepdf.html#4a2b01e7bb510c6b8946757cae6c9155" title="Default constructor.">mepdf</a>", 186 epdf = {<span class="keyword">class</span>=<span class="stringliteral">"epdf_offspring"</span>,...} 186 187 } 187 188 </pre></div> 188 189 <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 189 190 190 </div> 191 </div><p> 192 <a class="anchor" name="b024f2e636e5507c755de4a6df1f1e99"></a><!-- doxytag: member="bdm::mepdf::samplecond" ref="b024f2e636e5507c755de4a6df1f1e99" args="(const vec &cond)" --> 193 <div class="memitem"> 194 <div class="memproto"> 195 <table class="memname"> 196 <tr> 197 <td class="memname">vec bdm::mpdf::samplecond </td> 198 <td>(</td> 199 <td class="paramtype">const vec & </td> 200 <td class="paramname"> <em>cond</em> </td> 201 <td> ) </td> 202 <td><code> [virtual, inherited]</code></td> 203 </tr> 204 </table> 205 </div> 206 <div class="memdoc"> 207 208 <p> 209 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">. 210 <p> 211 <dl compact><dt><b>Parameters:</b></dt><dd> 212 <table border="0" cellspacing="2" cellpadding="0"> 213 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 214 </table> 215 </dl> 216 217 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 218 219 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 220 221 <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> 191 <p>References <a class="el" href="shared__ptr_8h-source.html#l00092">bdm::shared_ptr< T >::get()</a>, and <a class="el" href="bdmbase_8h-source.html#l00406">bdm::mpdf::set_ep()</a>.</p> 222 192 223 193 </div> … … 258 228 </dl> 259 229 260 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 230 <p>Reimplemented in <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< EPDF ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< egamma ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< enorm< chmat > ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< enorm< sq_T > ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< eigamma ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< elognorm ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< eiWishartCh ></a>, <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< enorm< ldmat > ></a>, and <a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">bdm::mpdf_internal< TEpdf< sq_T > ></a>.</p> 231 232 <p>References <a class="el" href="bdmbase_8h-source.html#l00427">bdm::mpdf::samplecond()</a>.</p> 261 233 262 234 </div> 263 235 </div><p> 264 236 <hr>The documentation for this class was generated from the following files:<ul> 265 <li><a class="el" href="bdmbase_8h _source.html">bdmbase.h</a><li>bdmbase.cpp</ul>266 </div> 267 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:06:552009 for mixpp by 237 <li><a class="el" href="bdmbase_8h-source.html">bdmbase.h</a><li>bdmbase.cpp</ul> 238 </div> 239 <hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by 268 240 <a href="http://www.doxygen.org/index.html"> 269 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5. 9</small></address>241 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 270 242 </body> 271 243 </html>