[259] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: bdm::migamma Class Reference</title> |
---|
| 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
[290] | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
[259] | 6 | </head><body> |
---|
[538] | 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
[271] | 8 | <script type="text/javascript"> |
---|
| 9 | <!-- |
---|
| 10 | function changeDisplayState (e){ |
---|
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 12 | var button=this.firstChild; |
---|
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 15 | sectionDiv.style.display='block'; |
---|
| 16 | button.src='open.gif'; |
---|
| 17 | }else{ |
---|
| 18 | sectionDiv.style.display='none'; |
---|
| 19 | button.src='closed.gif'; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | function initDynSections(){ |
---|
| 23 | var divs=document.getElementsByTagName('div'); |
---|
| 24 | var sectionCounter=1; |
---|
| 25 | for(var i=0;i<divs.length-1;i++){ |
---|
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 27 | var header=divs[i]; |
---|
| 28 | var section=divs[i+1]; |
---|
| 29 | var button=header.firstChild; |
---|
| 30 | if (button!='IMG'){ |
---|
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 32 | button=document.createElement('img'); |
---|
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 34 | } |
---|
| 35 | header.style.cursor='pointer'; |
---|
| 36 | header.onclick=changeDisplayState; |
---|
| 37 | header.id='dynheader'+sectionCounter; |
---|
| 38 | button.src='closed.gif'; |
---|
| 39 | section.id='dynsection'+sectionCounter; |
---|
| 40 | section.style.display='none'; |
---|
| 41 | section.style.marginLeft='14px'; |
---|
| 42 | sectionCounter++; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | window.onload = initDynSections; |
---|
| 47 | --> |
---|
| 48 | </script> |
---|
[259] | 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
[271] | 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
[259] | 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[290] | 54 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
[259] | 55 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 56 | </ul> |
---|
| 57 | </div> |
---|
| 58 | <div class="tabs"> |
---|
| 59 | <ul> |
---|
| 60 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
[290] | 61 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
[259] | 62 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 63 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 64 | </ul> |
---|
| 65 | </div> |
---|
[271] | 66 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1migamma.html">migamma</a> |
---|
[259] | 67 | </div> |
---|
| 68 | </div> |
---|
| 69 | <div class="contents"> |
---|
[538] | 70 | <h1>bdm::migamma Class Reference</h1><!-- doxytag: class="bdm::migamma" --><!-- doxytag: inherits="mpdf_internal< eigamma >" -->Inverse-Gamma random walk. |
---|
[290] | 71 | <a href="#_details">More...</a> |
---|
[259] | 72 | <p> |
---|
[538] | 73 | <code>#include <<a class="el" href="exp__family_8h-source.html">exp_family.h</a>></code> |
---|
[290] | 74 | <p> |
---|
[259] | 75 | |
---|
| 76 | <p> |
---|
[290] | 77 | <a href="classbdm_1_1migamma-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
[259] | 78 | <tr><td></td></tr> |
---|
| 79 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
[270] | 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b10ab922e2a7bae2fb6bb3efc7b6151"></a><!-- doxytag: member="bdm::migamma::set_parameters" ref="8b10ab922e2a7bae2fb6bb3efc7b6151" args="(int len, double k0)" --> |
---|
| 81 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#8b10ab922e2a7bae2fb6bb3efc7b6151">set_parameters</a> (int len, double k0)</td></tr> |
---|
[259] | 82 | |
---|
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> |
---|
[538] | 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#7a34b1e2e3aa2250d7c0ed7df1665b8c">condition</a> (const vec &val)</td></tr> |
---|
[259] | 85 | |
---|
[538] | 86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::migamma::e" ref="6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> |
---|
| 87 | <a class="el" href="classbdm_1_1eigamma.html">eigamma</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> |
---|
| 88 | |
---|
| 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function to iepdf <br></td></tr> |
---|
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::migamma::samplecond" ref="d8e547695d1cc19219b91164d825c930" args="(const vec &cond)" --> |
---|
| 91 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#d8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &cond)</td></tr> |
---|
| 92 | |
---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br></td></tr> |
---|
| 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::migamma::evallogcond" ref="89076e62b8d7df7616bad68c94591948" args="(const vec &val, const vec &cond)" --> |
---|
| 95 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &val, const vec &cond)</td></tr> |
---|
| 96 | |
---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br></td></tr> |
---|
| 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::migamma::evallogcond_m" ref="e28c214e3063733a6e4d17738941c61c" args="(const mat &Dt, const vec &cond)" --> |
---|
| 99 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> |
---|
| 100 | |
---|
| 101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for matrices. <br></td></tr> |
---|
| 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::migamma::evallogcond_m" ref="e82db07ce8af02f29cfd81e014edb3db" args="(const Array< vec > &Dt, const vec &cond)" --> |
---|
| 103 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> |
---|
| 104 | |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for Array<vec>. <br></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::migamma::samplecond_m" ref="9554c554054da2d22cb8e908ae9c8823" args="(const vec &cond, int N)" --> |
---|
| 107 | virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &cond, int N)</td></tr> |
---|
| 108 | |
---|
| 109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of samplecond. <br></td></tr> |
---|
[396] | 110 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">from_setting</a> (const Setting &set)</td></tr> |
---|
[353] | 111 | |
---|
[396] | 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::migamma::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
---|
| 113 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
---|
| 114 | |
---|
[353] | 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
---|
[396] | 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::migamma::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
---|
| 117 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
---|
[353] | 118 | |
---|
| 119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
---|
[396] | 120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::migamma::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
---|
| 121 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
---|
[368] | 122 | |
---|
| 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
---|
[270] | 124 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> |
---|
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b109fa502a9ab521dfb48412fd45fca7"></a><!-- doxytag: member="bdm::migamma::migamma" ref="b109fa502a9ab521dfb48412fd45fca7" args="()" --> |
---|
| 126 | </td><td class="memItemRight" valign="bottom"><b>migamma</b> ()</td></tr> |
---|
| 127 | |
---|
| 128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0126f741c6d2b6016df95a2410071e3"></a><!-- doxytag: member="bdm::migamma::migamma" ref="a0126f741c6d2b6016df95a2410071e3" args="(const migamma &m)" --> |
---|
| 129 | </td><td class="memItemRight" valign="bottom"><b>migamma</b> (const <a class="el" href="classbdm_1_1migamma.html">migamma</a> &m)</td></tr> |
---|
| 130 | |
---|
| 131 | <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> |
---|
[538] | 132 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="222d5280e309c5a053ba73841e98c151"></a><!-- doxytag: member="bdm::migamma::_rv" ref="222d5280e309c5a053ba73841e98c151" args="() const " --> |
---|
| 133 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> |
---|
[259] | 134 | |
---|
[270] | 135 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26001264236846897bd11e4baad47245"></a><!-- doxytag: member="bdm::migamma::_rvc" ref="26001264236846897bd11e4baad47245" args="()" --> |
---|
| 136 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rvc</b> ()</td></tr> |
---|
[259] | 137 | |
---|
[538] | 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::migamma::dimension" ref="eea4a999ed9679181335927e9cb66d28" args="() const " --> |
---|
| 139 | int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> |
---|
[270] | 140 | |
---|
| 141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::migamma::dimensionc" ref="35e135910aed187b7290742f50e61bc8" args="()" --> |
---|
| 142 | int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> |
---|
| 143 | |
---|
| 144 | <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> |
---|
| 145 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::migamma::set_rvc" ref="7631a5570e4ade1420065e8df78f4401" args="(const RV &rvc0)" --> |
---|
| 146 | 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> |
---|
| 147 | |
---|
| 148 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::migamma::set_rv" ref="18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &rv0)" --> |
---|
| 149 | 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> |
---|
| 150 | |
---|
| 151 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::migamma::isnamed" ref="f8e3798150b42fd1f3e16ddbbe0e7045" args="()" --> |
---|
| 152 | bool </td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> |
---|
| 153 | |
---|
[538] | 154 | <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::migamma::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> |
---|
| 156 | 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> &<a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr> |
---|
[259] | 157 | |
---|
[538] | 158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> |
---|
| 159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::migamma::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> |
---|
| 160 | 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> |
---|
| 161 | |
---|
| 162 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> |
---|
| 163 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
[259] | 164 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc56bc9da542e0103ec16b9be8e5e38c"></a><!-- doxytag: member="bdm::migamma::k" ref="dc56bc9da542e0103ec16b9be8e5e38c" args="" --> |
---|
| 165 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c">k</a></td></tr> |
---|
| 166 | |
---|
[397] | 167 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constant <img class="formulaInl" alt="$k$" src="form_76.png">. <br></td></tr> |
---|
[270] | 168 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9847093da59a9ba0ebb68d2c592f5dc"></a><!-- doxytag: member="bdm::migamma::_alpha" ref="c9847093da59a9ba0ebb68d2c592f5dc" args="" --> |
---|
| 169 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc">_alpha</a></td></tr> |
---|
[259] | 170 | |
---|
[472] | 171 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of iepdf.alpha <br></td></tr> |
---|
[270] | 172 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0d854c047001b5465cf1ba21f52904b5"></a><!-- doxytag: member="bdm::migamma::_beta" ref="0d854c047001b5465cf1ba21f52904b5" args="" --> |
---|
| 173 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5">_beta</a></td></tr> |
---|
| 174 | |
---|
[472] | 175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of iepdf.beta <br></td></tr> |
---|
[538] | 176 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::migamma::iepdf" ref="47bab632af15120c88aad647ae129468" args="" --> |
---|
| 177 | <a class="el" href="classbdm_1_1eigamma.html">eigamma</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a></td></tr> |
---|
| 178 | |
---|
| 179 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal epdf used for sampling. <br></td></tr> |
---|
[270] | 180 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::migamma::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" --> |
---|
| 181 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> |
---|
[259] | 182 | |
---|
[270] | 183 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the condition <br></td></tr> |
---|
[259] | 184 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::migamma::rvc" ref="5a5f08950daa08b85b01ddf4e1c36288" args="" --> |
---|
| 185 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> |
---|
| 186 | |
---|
| 187 | <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> |
---|
| 188 | </table> |
---|
[290] | 189 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 190 | Inverse-Gamma random walk. |
---|
| 191 | <p> |
---|
[397] | 192 | Mean value, <img class="formulaInl" alt="$ \mu $" src="form_80.png">, of this density is given by <code>rvc</code> . Standard deviation of the random walk is proportional to one <img class="formulaInl" alt="$ k $" src="form_81.png">-th the mean. This is achieved by setting <img class="formulaInl" alt="$ \alpha=\mu/k^2+2 $" src="form_82.png"> and <img class="formulaInl" alt="$ \beta=\mu(\alpha-1)$" src="form_83.png">.<p> |
---|
| 193 | The standard deviation of the walk is then: <img class="formulaInl" alt="$ \mu/\sqrt(k)$" src="form_84.png">. <hr><h2>Member Function Documentation</h2> |
---|
[538] | 194 | <a class="anchor" name="7a34b1e2e3aa2250d7c0ed7df1665b8c"></a><!-- doxytag: member="bdm::migamma::condition" ref="7a34b1e2e3aa2250d7c0ed7df1665b8c" args="(const vec &val)" --> |
---|
[396] | 195 | <div class="memitem"> |
---|
| 196 | <div class="memproto"> |
---|
| 197 | <table class="memname"> |
---|
| 198 | <tr> |
---|
[538] | 199 | <td class="memname">void bdm::migamma::condition </td> |
---|
[396] | 200 | <td>(</td> |
---|
[259] | 201 | <td class="paramtype">const vec & </td> |
---|
[269] | 202 | <td class="paramname"> <em>cond</em> </td> |
---|
| 203 | <td> ) </td> |
---|
[538] | 204 | <td><code> [inline, virtual]</code></td> |
---|
[259] | 205 | </tr> |
---|
| 206 | </table> |
---|
| 207 | </div> |
---|
| 208 | <div class="memdoc"> |
---|
| 209 | |
---|
| 210 | <p> |
---|
[538] | 211 | 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 |
---|
| 212 | <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf__internal.html#1ac61da081667fc54bcd050cc4f6a93e">bdm::mpdf_internal< eigamma ></a>.</p> |
---|
[259] | 213 | |
---|
[538] | 214 | <p>Reimplemented in <a class="el" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a">bdm::migamma_ref</a>.</p> |
---|
[259] | 215 | |
---|
[538] | 216 | <p>References <a class="el" href="exp__family_8h-source.html#l00750">_alpha</a>, and <a class="el" href="exp__family_8h-source.html#l00753">_beta</a>.</p> |
---|
[271] | 217 | |
---|
[259] | 218 | </div> |
---|
| 219 | </div><p> |
---|
[538] | 220 | <a class="anchor" name="30a0bceb948e287d497c578e371b1667"></a><!-- doxytag: member="bdm::migamma::from_setting" ref="30a0bceb948e287d497c578e371b1667" args="(const Setting &set)" --> |
---|
[259] | 221 | <div class="memitem"> |
---|
| 222 | <div class="memproto"> |
---|
| 223 | <table class="memname"> |
---|
| 224 | <tr> |
---|
[538] | 225 | <td class="memname">void bdm::mpdf::from_setting </td> |
---|
[259] | 226 | <td>(</td> |
---|
[538] | 227 | <td class="paramtype">const Setting & </td> |
---|
| 228 | <td class="paramname"> <em>set</em> </td> |
---|
| 229 | <td> ) </td> |
---|
| 230 | <td><code> [virtual, inherited]</code></td> |
---|
[259] | 231 | </tr> |
---|
| 232 | </table> |
---|
| 233 | </div> |
---|
| 234 | <div class="memdoc"> |
---|
| 235 | |
---|
| 236 | <p> |
---|
[538] | 237 | Load from structure with elements: <div class="fragment"><pre class="fragment"> { <span class="keyword">class </span>= "mpdf_offspring", |
---|
| 238 | rv = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> |
---|
| 239 | <a class="code" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288" 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> |
---|
| 240 | <span class="comment">// elements of offsprings</span> |
---|
| 241 | } |
---|
| 242 | </pre></div> |
---|
| 243 | <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> |
---|
[259] | 244 | |
---|
[538] | 245 | <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#52980f13d80162d00b30d5864343f564">bdm::mlnorm< sq_T, TEpdf ></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#52980f13d80162d00b30d5864343f564">bdm::mlnorm< chmat ></a>, and <a class="el" href="classbdm_1_1mlnorm.html#52980f13d80162d00b30d5864343f564">bdm::mlnorm< ldmat, enorm ></a>.</p> |
---|
[259] | 246 | |
---|
| 247 | </div> |
---|
| 248 | </div><p> |
---|
| 249 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
[538] | 250 | <li><a class="el" href="exp__family_8h-source.html">exp_family.h</a></ul> |
---|
[397] | 251 | </div> |
---|
[538] | 252 | <hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by |
---|
[259] | 253 | <a href="http://www.doxygen.org/index.html"> |
---|
[538] | 254 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
[259] | 255 | </body> |
---|
| 256 | </html> |
---|