Changeset 641 for library/doc/html/classbdm_1_1mDirich.html
- Timestamp:
- 09/27/09 00:58:34 (15 years ago)
- Files:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
library/doc/html/classbdm_1_1mDirich.html
r632 r641 3 3 <head> 4 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 5 <title>mixpp: bdm::m lognormClass Reference</title>5 <title>mixpp: bdm::mDirich Class Reference</title> 6 6 <link href="tabs.css" rel="stylesheet" type="text/css"/> 7 7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> … … 67 67 </ul> 68 68 </div> 69 <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1m lognorm.html">mlognorm</a>69 <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1mDirich.html">mDirich</a> 70 70 </div> 71 71 </div> 72 72 <div class="contents"> 73 <h1>bdm::mlognorm Class Reference</h1><!-- doxytag: class="bdm::mlognorm" --><!-- doxytag: inherits="mpdf_internal< elognorm >" --> 74 <p>Log-Normal random walk. 75 <a href="#_details">More...</a></p> 76 <hr/><a name="_details"></a><h2>Detailed Description</h2> 77 <p>Log-Normal random walk. </p> 78 <p>Mean value, <img class="formulaInl" alt="$\mu$" src="form_83.png"/>, is... </p> 73 <h1>bdm::mDirich Class Reference</h1><!-- doxytag: class="bdm::mDirich" --><!-- doxytag: inherits="mpdf_internal< eDirich >" --><hr/><a name="_details"></a><h2>Detailed Description</h2> 74 <p>Random Walk on Dirichlet Using simple assignment </p> 75 <p class="formulaDsp"> 76 <img class="formulaDsp" alt="\[ \beta = rvc / k + \beta_c \]" src="form_188.png"/> 77 </p> 78 <p> hence, mean value = rvc, variance = (k+1)*mean*mean;</p> 79 <p>The greater k is, the greater is the variance of the random walk;</p> 80 <p><img class="formulaInl" alt="$ \beta_c $" src="form_189.png"/> is used as regularizing element to avoid corner cases, i.e. when one element of rvc is zero. By default is it set to 0.1; </p> 79 81 80 82 <p><code>#include <<a class="el" href="exp__family_8h_source.html">exp_family.h</a>></code></p> 81 83 82 <p><a href="classbdm_1_1m lognorm-members.html">List of all members.</a></p>84 <p><a href="classbdm_1_1mDirich-members.html">List of all members.</a></p> 83 85 <table border="0" cellpadding="0" cellspacing="0"> 84 86 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 85 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5d6eb2688d02e0348b96c4fbd7bde41"></a><!-- doxytag: member="bdm::mlognorm::mlognorm" ref="aa5d6eb2688d02e0348b96c4fbd7bde41" args="()" --> 86 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#aa5d6eb2688d02e0348b96c4fbd7bde41">mlognorm</a> ()</td></tr> 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr> 88 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a604cab0e8a76f9041dc3c606043bb39f"></a><!-- doxytag: member="bdm::mlognorm::set_parameters" ref="a604cab0e8a76f9041dc3c606043bb39f" args="(int size, double k)" --> 89 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#a604cab0e8a76f9041dc3c606043bb39f">set_parameters</a> (int size, double k)</td></tr> 90 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br/></td></tr> 91 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9106d8fd8bdf2b6be675ffd8f3ca584e"></a><!-- doxytag: member="bdm::mlognorm::condition" ref="a9106d8fd8bdf2b6be675ffd8f3ca584e" args="(const vec &val)" --> 92 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#a9106d8fd8bdf2b6be675ffd8f3ca584e">condition</a> (const vec &val)</td></tr> 87 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78a06fc013ca7fc8dbc13ee899e3b0d0"></a><!-- doxytag: member="bdm::mDirich::condition" ref="a78a06fc013ca7fc8dbc13ee899e3b0d0" args="(const vec &val)" --> 88 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#a78a06fc013ca7fc8dbc13ee899e3b0d0">condition</a> (const vec &val)</td></tr> 93 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Update <code>iepdf</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a> conditioned on <code>rvc</code> = cond This function provides convenient reimplementation in offsprings. <br/></td></tr> 94 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#a49e45ea13a869da607ef9be7a229128a">from_setting</a> (const Setting &set)</td></tr> 95 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mlognorm::e" ref="a6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> 96 <a class="el" href="classbdm_1_1elognorm.html">elognorm</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> 90 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#ac1e6f42277b97f700ea1b6045cb6b2d7">from_setting</a> (const Setting &set)</td></tr> 91 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd6dfd941c1cf5092b02d23f58d7bde4"></a><!-- doxytag: member="bdm::mDirich::validate" ref="abd6dfd941c1cf5092b02d23f58d7bde4" args="()" --> 92 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#abd6dfd941c1cf5092b02d23f58d7bde4">validate</a> ()</td></tr> 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> 94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mDirich::e" ref="a6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> 95 <a class="el" href="classbdm_1_1eDirich.html">eDirich</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> 97 96 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function to iepdf <br/></td></tr> 98 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::m lognorm::samplecond" ref="ad8e547695d1cc19219b91164d825c930" args="(const vec &cond)" -->97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::mDirich::samplecond" ref="ad8e547695d1cc19219b91164d825c930" args="(const vec &cond)" --> 99 98 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ad8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &cond)</td></tr> 100 99 <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br/></td></tr> 101 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::m lognorm::evallogcond" ref="a89076e62b8d7df7616bad68c94591948" args="(const vec &val, const vec &cond)" -->100 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::mDirich::evallogcond" ref="a89076e62b8d7df7616bad68c94591948" args="(const vec &val, const vec &cond)" --> 102 101 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &val, const vec &cond)</td></tr> 103 102 <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br/></td></tr> 104 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::m lognorm::evallogcond_m" ref="ae28c214e3063733a6e4d17738941c61c" args="(const mat &Dt, const vec &cond)" -->103 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::mDirich::evallogcond_m" ref="ae28c214e3063733a6e4d17738941c61c" args="(const mat &Dt, const vec &cond)" --> 105 104 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ae28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> 106 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for matrices. <br/></td></tr> 107 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::m lognorm::evallogcond_m" ref="ae82db07ce8af02f29cfd81e014edb3db" args="(const Array< vec > &Dt, const vec &cond)" -->106 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::mDirich::evallogcond_m" ref="ae82db07ce8af02f29cfd81e014edb3db" args="(const Array< vec > &Dt, const vec &cond)" --> 108 107 virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ae82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> 109 108 <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for Array<vec>. <br/></td></tr> 110 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::m lognorm::samplecond_m" ref="a9554c554054da2d22cb8e908ae9c8823" args="(const vec &cond, int N)" -->109 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::mDirich::samplecond_m" ref="a9554c554054da2d22cb8e908ae9c8823" args="(const vec &cond, int N)" --> 111 110 virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &cond, int N)</td></tr> 112 111 <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of samplecond. <br/></td></tr> 113 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::m lognorm::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" -->112 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mDirich::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 114 113 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 115 114 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 116 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::m lognorm::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " -->115 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mDirich::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> 117 116 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> 118 117 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 119 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::mlognorm::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" -->120 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr>121 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr>122 118 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 123 119 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 124 120 <br/><br/></div></td></tr> 125 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::m lognorm::_rv" ref="aaa0095f80870f15209bca68a8a7bad8a" args="() const " -->121 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::mDirich::_rv" ref="aaa0095f80870f15209bca68a8a7bad8a" args="() const " --> 126 122 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> 127 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::m lognorm::_rvc" ref="a739d5202899bb56792a547c74e517a11" args="() const " -->123 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::mDirich::_rvc" ref="a739d5202899bb56792a547c74e517a11" args="() const " --> 128 124 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_rvc</b> () const </td></tr> 129 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::m lognorm::dimension" ref="aeea4a999ed9679181335927e9cb66d28" args="() const " -->125 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mDirich::dimension" ref="aeea4a999ed9679181335927e9cb66d28" args="() const " --> 130 126 int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> 131 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::m lognorm::dimensionc" ref="a35e135910aed187b7290742f50e61bc8" args="()" -->127 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::mDirich::dimensionc" ref="a35e135910aed187b7290742f50e61bc8" args="()" --> 132 128 int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> 133 129 <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> 134 130 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp91e4120baa9617769b7119bfb087c022"></a> </p> 135 131 <br/><br/></div></td></tr> 136 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::m lognorm::set_rvc" ref="a7631a5570e4ade1420065e8df78f4401" args="(const RV &rvc0)" -->132 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::mDirich::set_rvc" ref="a7631a5570e4ade1420065e8df78f4401" args="(const RV &rvc0)" --> 137 133 void </td><td class="memItemRight" valign="bottom"><b>set_rvc</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rvc0)</td></tr> 138 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::m lognorm::set_rv" ref="a18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &rv0)" -->134 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::mDirich::set_rv" ref="a18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &rv0)" --> 139 135 void </td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0)</td></tr> 140 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::m lognorm::isnamed" ref="af8e3798150b42fd1f3e16ddbbe0e7045" args="()" -->136 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::mDirich::isnamed" ref="af8e3798150b42fd1f3e16ddbbe0e7045" args="()" --> 141 137 bool </td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> 142 138 <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> 143 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::m lognorm::set_ep" ref="a147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" -->139 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mDirich::set_ep" ref="a147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> 144 140 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &<a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr> 145 141 <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br/></td></tr> 146 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::m lognorm::set_ep" ref="a7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" -->142 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mDirich::set_ep" ref="a7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> 147 143 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr> 148 144 <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br/></td></tr> 149 145 <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 150 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa51128a2e503b8b2ce698244b9e0db1a"></a><!-- doxytag: member="bdm::mlognorm::sig2" ref="aa51128a2e503b8b2ce698244b9e0db1a" args="" --> 151 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#aa51128a2e503b8b2ce698244b9e0db1a">sig2</a></td></tr> 152 <tr><td class="mdescLeft"> </td><td class="mdescRight">parameter 1/2*sigma^2 <br/></td></tr> 153 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d0063f77d899ef22e8c5edd642176d2"></a><!-- doxytag: member="bdm::mlognorm::mu" ref="a7d0063f77d899ef22e8c5edd642176d2" args="" --> 154 vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#a7d0063f77d899ef22e8c5edd642176d2">mu</a></td></tr> 155 <tr><td class="mdescLeft"> </td><td class="mdescRight">access <br/></td></tr> 156 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::mlognorm::iepdf" ref="a47bab632af15120c88aad647ae129468" args="" --> 157 <a class="el" href="classbdm_1_1elognorm.html">elognorm</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a></td></tr> 146 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf9baed9baab754872ec59b9d45bf164"></a><!-- doxytag: member="bdm::mDirich::k" ref="acf9baed9baab754872ec59b9d45bf164" args="" --> 147 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#acf9baed9baab754872ec59b9d45bf164">k</a></td></tr> 148 <tr><td class="mdescLeft"> </td><td class="mdescRight">constant <img class="formulaInl" alt="$ k $" src="form_89.png"/> of the random walk <br/></td></tr> 149 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44230d127f95c6da1032e4e5886204ab"></a><!-- doxytag: member="bdm::mDirich::_beta" ref="a44230d127f95c6da1032e4e5886204ab" args="" --> 150 vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#a44230d127f95c6da1032e4e5886204ab">_beta</a></td></tr> 151 <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of beta_i <br/></td></tr> 152 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c367b11fc853db86e9f00143e68013a"></a><!-- doxytag: member="bdm::mDirich::betac" ref="a0c367b11fc853db86e9f00143e68013a" args="" --> 153 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#a0c367b11fc853db86e9f00143e68013a">betac</a></td></tr> 154 <tr><td class="mdescLeft"> </td><td class="mdescRight">stabilizing coefficient <img class="formulaInl" alt="$ \beta_c $" src="form_189.png"/> <br/></td></tr> 155 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::mDirich::iepdf" ref="a47bab632af15120c88aad647ae129468" args="" --> 156 <a class="el" href="classbdm_1_1eDirich.html">eDirich</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a></td></tr> 158 157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal epdf used for sampling. <br/></td></tr> 159 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::m lognorm::dimc" ref="a7c1900976ff13dbc09c9729b3bbff9e6" args="" -->158 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mDirich::dimc" ref="a7c1900976ff13dbc09c9729b3bbff9e6" args="" --> 160 159 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> 161 160 <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the condition <br/></td></tr> 162 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::m lognorm::rvc" ref="a5a5f08950daa08b85b01ddf4e1c36288" args="" -->161 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::mDirich::rvc" ref="a5a5f08950daa08b85b01ddf4e1c36288" args="" --> 163 162 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> 164 163 <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br/></td></tr> 165 164 </table> 166 165 <hr/><h2>Member Function Documentation</h2> 167 <a class="anchor" id="a 49e45ea13a869da607ef9be7a229128a"></a><!-- doxytag: member="bdm::mlognorm::from_setting" ref="a49e45ea13a869da607ef9be7a229128a" args="(const Setting &set)" -->166 <a class="anchor" id="ac1e6f42277b97f700ea1b6045cb6b2d7"></a><!-- doxytag: member="bdm::mDirich::from_setting" ref="ac1e6f42277b97f700ea1b6045cb6b2d7" args="(const Setting &set)" --> 168 167 <div class="memitem"> 169 168 <div class="memproto"> 170 169 <table class="memname"> 171 170 <tr> 172 <td class="memname">void bdm::m lognorm::from_setting </td>171 <td class="memname">void bdm::mDirich::from_setting </td> 173 172 <td>(</td> 174 173 <td class="paramtype">const Setting & </td> 175 174 <td class="paramname"> <em>set</em></td> 176 175 <td> ) </td> 177 <td><code> [ virtual]</code></td>176 <td><code> [inline, virtual]</code></td> 178 177 </tr> 179 178 </table> 180 179 </div> 181 180 <div class="memdoc"> 182 <p>Create logNormal random Walk </p>181 <p>Create Dirichlet random walk </p> 183 182 <p class="formulaDsp"> 184 <img class="formulaDsp" alt="\[ f(rv|rvc) = log\mathcal{N}( \log(rvc)-0.5\log(k^2+1), k I) \]" src="form_172.png"/>183 <img class="formulaDsp" alt="\[ f(rv|rvc) = Di(rvc*k) \]" src="form_190.png"/> 185 184 </p> 186 185 <p> from structure </p> 187 <div class="fragment"><pre class="fragment"> <span class="keyword">class </span>= '<a class="code" href="classbdm_1_1mlognorm.html#aa5d6eb2688d02e0348b96c4fbd7bde41" title="Constructor.">mlognorm</a>'; 188 k = 0.1; <span class="comment">// "variance" k</span> 189 mu0 = 0.1; <span class="comment">// Initial value of mean</span> 190 rv = RV({<span class="stringliteral">'name'</span>}) <span class="comment">// description of RV</span> 191 <a class="code" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a> = RV({<span class="stringliteral">'name'</span>}) <span class="comment">// description of RV in condition</span> 186 <div class="fragment"><pre class="fragment"> <span class="keyword">class </span>= 'mDirich'; 187 <a class="code" href="classbdm_1_1mDirich.html#acf9baed9baab754872ec59b9d45bf164" title="constant of the random walk">k</a> = 1; <span class="comment">// multiplicative constant k</span> 188 --- optional --- 189 rv = RV({<span class="stringliteral">'name'</span>},size) <span class="comment">// description of RV</span> 190 beta0 = []; <span class="comment">// initial value of beta</span> 191 <a class="code" href="classbdm_1_1mDirich.html#a0c367b11fc853db86e9f00143e68013a" title="stabilizing coefficient ">betac</a> = []; <span class="comment">// initial value of beta</span> 192 192 </pre></div> 193 193 <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#a30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 194 194 195 <p>References <a class="el" href="exp__family_8h_source.html#l00 970">condition()</a>, <a class="el" href="user__info_8h_source.html#l00443">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h_source.html#l00963">set_parameters()</a>.</p>196 197 </div> 198 </div> 199 <hr/>The documentation for this class was generated from the following file s:<ul>195 <p>References <a class="el" href="exp__family_8h_source.html#l00362">_beta</a>, <a class="el" href="exp__family_8h_source.html#l00364">betac</a>, <a class="el" href="bdmbase_8h_source.html#l00235">bdm::RV::copy_t()</a>, <a class="el" href="user__info_8h_source.html#l00451">bdm::UI::get()</a>, <a class="el" href="exp__family_8h_source.html#l00360">k</a>, <a class="el" href="bdmbase_8h_source.html#l00461">bdm::mpdf::rvc</a>, and <a class="el" href="exp__family_8h_source.html#l00397">validate()</a>.</p> 196 197 </div> 198 </div> 199 <hr/>The documentation for this class was generated from the following file:<ul> 200 200 <li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></li> 201 <li>exp_family.cpp</li>202 201 </ul> 203 202 </div> 204 <hr size="1"/><address style="text-align: right;"><small>Generated on Fri Sep 18 00:12:042009 for mixpp by 203 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 27 00:49:06 2009 for mixpp by 205 204 <a href="http://www.doxygen.org/index.html"> 206 205 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>